tornadofx / tornadofx / observableMapOf

observableMapOf

fun <K, V> observableMapOf(): ObservableMap<K, V>

Returns an empty new ObservableMap

fun <K, V> observableMapOf(vararg pairs: Pair<K, V>): ObservableMap<K, V>

Returns a new ObservableMap with the specified contents, given as a list of pairs where the first component is the key and the second is the value.