abstract class AbstractValueEnum extends ValueEnum
Convenience abstract class implementing ValueEnum. For less generated code, faster compilation and better binary compatibility it's better to extend this abstract class rather than ValueEnum trait directly. See ValueEnum documentation for more information on value-based enums.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AbstractValueEnum
- ValueEnum
- NamedEnum
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
name: String
Name of the
final val
in enum companion object that this enum value is assigned to. -
def
ordinal: Int
Enum value index, starting from 0.
Enum value index, starting from 0. Reflects the order in which enum constants are declared in the companion object of the enum class.
- Definition Classes
- ValueEnum
-
def
toString(): String
- Definition Classes
- NamedEnum → AnyRef → Any