Enum
The common base class of all enum classes. See the Kotlin language documentation for more information on enum classes.
Since Kotlin
1.0Inheritors
Since Kotlin
1.1Inheritors
The common base class of all enum classes. See the Kotlin language documentation for more information on enum classes.
Since Kotlin
1.0Inheritors
The common base class of all enum classes. See the Kotlin language documentation for more information on enum classes.
Since Kotlin
1.3Inheritors
Since Kotlin
1.8Inheritors
Constructors
Types
Properties
Returns the name of this enum constant, exactly as declared in its enum declaration.
Returns the name of this enum constant, exactly as declared in its enum declaration.
Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).
Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).
Functions
Compares this object with the specified object for order. Returns zero if this object is equal to the specified other object, a negative number if it's less than other, or a positive number if it's greater than other.
Compares this object with the specified object for order. Returns zero if this object is equal to the specified other object, a negative number if it's less than other, or a positive number if it's greater than other.
Compares this object with the specified object for order. Returns zero if this object is equal to the specified other object, a negative number if it's less than other, or a positive number if it's greater than other.