CollapseAll

interface CollapseAll<out E> : Collapse<E>

A Collapse that include the local element in addition to peers.

Type Parameters

E

the element type contained in the collapse.

Properties

Link copied to clipboard

Returns a collapse containing only the IDs from this CollapseAll.

Link copied to clipboard
abstract val list: List<E>
Link copied to clipboard
abstract val sequence: Sequence<E>
Link copied to clipboard
abstract val set: Set<E>
Link copied to clipboard
abstract val size: Int
Link copied to clipboard

Returns a collapse containing only the values from this CollapseAll.

Functions

Link copied to clipboard
operator fun <T> Collapse<T>.contains(element: T): Boolean

Checks if the given element is present in this collapse.

Link copied to clipboard
fun <ID : Any, T> Collapse<FieldEntry<ID, T>>.toMap(): Map<ID, T>

Converts this collapse of field entries into a map from entry IDs to their values.