openrndr / org.openrndr.draw / ObservableHashmap

ObservableHashmap

class ObservableHashmap<K, V> : HashMap<K, V> (source)

Constructors

<init>

ObservableHashmap(onChange: () -> Unit)

Properties

onChange

val onChange: () -> Unit

Functions

put

fun put(key: K, value: V): V?

remove

fun remove(key: K): V?