Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
scala> object Label extends Enumeration{
| val ga, o, ni, none = Value
| }
defined object Label
scala> Label.values
res0: Label.ValueSet = Label.ValueSet(ga, o, ni, none)
res1: scala.collection.immutable.SortedSet[String] = TreeSet(ga, ni, none, o)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.