MutableObservableSet

Any changes made to the underlying set will NOT cause change events to be fired. Therefore, it is not advisable to keep references to the underlying set.

Properties

Link copied to clipboard
abstract override val size: Int

Functions

Link copied to clipboard
abstract override fun add(element: E): Boolean
Link copied to clipboard
abstract override fun addAll(elements: Collection<E>): Boolean
open fun addAll(vararg elements: E): Boolean
Link copied to clipboard
open fun addChangeListener(lambda: (set: ObservableSet<E>, change: SetChange<E>) -> Unit): SetChangeListener<E>
abstract fun addChangeListener(listener: SetChangeListener<E>)
Link copied to clipboard
abstract fun addListener(listener: InvalidationListener)
Link copied to clipboard
open fun addWeakChangeListener(lambda: (set: ObservableSet<E>, change: SetChange<E>) -> Unit): SetChangeListener<E>
Link copied to clipboard
Link copied to clipboard
fun <T> Set<T>.asReadOnly(): Set<T>

Wraps the Set with a lightweight delegating class that prevents casting back to mutable type

Link copied to clipboard
abstract override fun clear()
Link copied to clipboard
abstract operator override fun contains(element: E): Boolean
Link copied to clipboard
abstract override fun containsAll(elements: Collection<E>): Boolean
Link copied to clipboard
abstract override fun isEmpty(): Boolean
Link copied to clipboard
Link copied to clipboard
abstract operator override fun iterator(): MutableIterator<E>
Link copied to clipboard
abstract override fun remove(element: E): Boolean
Link copied to clipboard
abstract override fun removeAll(elements: Collection<E>): Boolean
open fun removeAll(vararg elements: E): Boolean
Link copied to clipboard
abstract fun removeChangeListener(listener: SetChangeListener<E>)
Link copied to clipboard
abstract fun removeListener(listener: InvalidationListener)
Link copied to clipboard
abstract override fun retainAll(elements: Collection<E>): Boolean
Link copied to clipboard