|
Scala Library Documentation
|
|
scala/Enumeration.scala]
protected
class
Val(i : Int, name : String)
extends ValueValue type. This class can be
overriden to change the enumeration's naming and integer identification
behaviour.| Additional Constructor Summary | |
def
|
this : Val |
def
|
this (name : String) : 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 |
| Method Details |
|
Scala Library Documentation
|
|