LazySet

interface LazySet<out E> : Flow<E> , LazySetComponent<E>

Types

Link copied to clipboard
interface DataSource<out E> : Comparable<LazySet.DataSource<*>> , LazySetComponent<E>
Link copied to clipboard
class State<out E>(val cache: Set<E>, val remaining: List<LazySet.DataSource<E>>)

Functions

Link copied to clipboard
abstract suspend fun collect(collector: FlowCollector<E>)
Link copied to clipboard
abstract suspend fun contains(element: Any?): Boolean
Link copied to clipboard
abstract suspend fun isEmpty(): Boolean
Link copied to clipboard
abstract suspend fun isNotEmpty(): Boolean
Link copied to clipboard
abstract fun snapshot(): LazySet.State<E>

Properties

Link copied to clipboard
abstract val isFullyCached: Boolean

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard
suspend fun <T : B, E : B, B> LazySet<T>.containsAny(elements: Collection<E>): Boolean
suspend fun <T : B, E : B, B> LazySet<T>.containsAny(elements: LazySet<E>): Boolean

Sources

Link copied to clipboard