Package

enumeratum

values

Permalink

package values

Visibility
  1. Public
  2. All

Type Members

  1. trait AllowAlias extends AnyRef

    Permalink

    Marker trait.

    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.

Ungrouped