AllowAlias

enumeratum.values.AllowAlias

Marker trait. You can extend this to tell enumeratum that you want to allow 'aliases', i.e. define multiple entries with the same value.

Note: if you define multiple entries with the same value, calling withValue for that value will return one of them. Which one it returns is undefined.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view