StringEnumEntry

enumeratum.values.StringEnumEntry
abstract class StringEnumEntry extends ValueEnumEntry[String]

Value Enum Entry parent class for String valued entries

This is similar to enumeratum.Enum, but different in that values must be literal values. This restraint allows us to enforce uniqueness at compile time.

Note that uniqueness is only guaranteed if you do not do any runtime string manipulation on values.

Attributes

Graph
Supertypes
trait ValueEnumEntry[String]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def value: ValueType

Value of this entry

Value of this entry

Attributes

Inherited from:
ValueEnumEntry