SetPool

expect open class SetPool<T> : Pool<T> , Set<T>

Implementation of Pool based on a Set.

Inheritors

Constructors

Link copied to clipboard
expect constructor()

Inherited properties

Link copied to clipboard
abstract override val size: Int

Inherited functions

Link copied to clipboard
fun Collection<Completable>.allCompleted(completed: () -> Unit)
Link copied to clipboard
abstract operator override fun contains(element: 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<T>): Boolean
Link copied to clipboard
abstract override fun isEmpty(): Boolean
Link copied to clipboard
abstract operator override fun iterator(): Iterator<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: T)

Remove item from the collection

Link copied to clipboard
abstract operator fun plusAssign(item: T)

Add item to the collection