PropertyObserversImpl

PropertyObservers implemented using a SetPool.

Constructors

Link copied to clipboard
constructor(source: S)

Inherited properties

Link copied to clipboard
abstract override val size: Int

Functions

Link copied to clipboard
operator fun invoke(old: T, new: T)

Notifies observers of changes to source.

Inherited functions

Link copied to clipboard
fun Collection<Completable>.allCompleted(completed: () -> Unit)
Link copied to clipboard
abstract operator override fun contains(element: PropertyObserver<S, T>): Boolean
Link copied to clipboard
operator fun <E> Collection<E>?.contains(element: E): Boolean

Nullable helper

Link copied to clipboard
abstract override fun containsAll(elements: Collection<PropertyObserver<S, T>>): Boolean
Link copied to clipboard
abstract override fun isEmpty(): Boolean
Link copied to clipboard
abstract operator override fun iterator(): Iterator<PropertyObserver<S, T>>
Link copied to clipboard
fun <T, V> Pool<T>.map(by: (V) -> T): Pool<V>

Creates a new Pool that is based on another of a different type.

Link copied to clipboard
abstract operator fun minusAssign(item: PropertyObserver<S, T>)

Remove item from the collection

Link copied to clipboard
abstract operator fun plusAssign(item: PropertyObserver<S, T>)

Add item to the collection