Package-level declarations

Types

Link copied to clipboard
sealed interface EnumEntries<E : Enum<E>> : List<E>

A specialized immutable implementation of List interface that contains all enum entries of the specified enum type E. EnumEntries contains all enum entries in the order they are declared in the source code, consistently with the corresponding Enum.ordinal values.

Since Kotlin 1.8