ChangeObserversImpl

ChangeObservers 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()

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: ChangeObserver<S>): 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<ChangeObserver<S>>): Boolean
Link copied to clipboard
abstract override fun isEmpty(): Boolean
Link copied to clipboard
abstract operator override fun iterator(): Iterator<ChangeObserver<S>>
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: ChangeObserver<S>)

Remove item from the collection

Link copied to clipboard
abstract operator fun plusAssign(item: ChangeObserver<S>)

Add item to the collection