Package-level declarations

Types

Link copied to clipboard
value class BitSet32 : Set<Int>

Immutable Set implementation that can store values in range 0..31.

Link copied to clipboard
annotation class ExperimentalEnumSetApi
Link copied to clipboard

MutableSet implementation that can store values in range 0..31.

Functions

Link copied to clipboard
inline fun <E : Enum<E>> enumSetOf(vararg elements: E): Set<E>
inline fun <E : Enum<E>> enumSetOf(elements: Iterable<E>): Set<E>

Creates a Set optimized for storing elements of enumerations.

Link copied to clipboard
inline fun <E : Enum<E>> Set<E>.toEnumSet(): Set<E>

Copies a regular Set into a set optimized for enumerations.