scala.Enumeration
class Val

[source: `scala/Enumeration.scala`]

`protected` `class` Val(i : Int, name : String)
  `extends` Value

  A class implementing the `Value` type. This class can be overriden to change the enumeration's naming and integer identification behaviour.

Additional Constructor Summary
`def` | this (name : String) : Val
`def` | this : Val
`def` | this (i : Int) : Val

Method Summary
`def` | id : Int the id and bit location of this enumeration value
`override def` | toString : String

Methods inherited from Value
compare, mask32, mask64

Methods inherited from Ordered
<, >, <=, >=, compareTo

Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Additional Constructor Details

`` `def` this(i : Int) : Val

`` `def` this(name : String) : Val

`` `def` this : Val

Overrides
  Value.this

Method Details

`` `def` id : Int

  the id and bit location of this enumeration value

Overrides
  Value.id

`override` `def` toString : String