tornadofx / tornadofx / kotlin.collections.Set

Extensions for kotlin.collections.Set

asObservable fun <T> Set<T>.asObservable(): ObservableSet<T>

Returns a new ObservableSet that is backed by the original set.

observable fun <T> Set<T>.observable(): ObservableSet<T>
toObservable fun <T> Set<T>.toObservable(): ObservableSet<T>

Returns a new ObservableSet with the elements from the original set.