Scala Library Documentation
|
|
scala/Enumeration.scala
]
abstract
class
Value
extends
Ordered[Value]Method Summary | |
override def
|
compare
(that : Value) : Int
Result of comparing
this with operand that .
returns x where
x < 0 iff this < that
x == 0 iff this == that
x > 0 iff this > that |
abstract def
|
id
: Int
the id and bit location of this enumeration value
|
def
|
mask32
: Int
this enumeration value as an
Int bit mask. |
def
|
mask64
: Long
this enumeration value as an
Long bit mask. |
Methods inherited from Ordered | |
<, >, <=, >=, compareTo |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Scala Library Documentation
|
|