scala.Enumeration#Value
The type of the enumerated values.
Concrete Value Members From scala.Enumeration.Value
abstract def id: Int
the id and bit location of this enumeration value
(defined at scala.Enumeration.Value)
def +(v: Value): ValueSet
Create a ValueSet which contains this value and another one
(defined at scala.Enumeration.Value)
def compare(that: Value): Int
Result of comparing this
with operand that
.
Implement this method to determine how instances of A will be sorted.
Returns x
where:
x < 0
when this < that
x == 0
when this == that
-
x > 0
when this > that
- Definition Classes
(defined at scala.Enumeration.Value)
def equals(other: Any): Boolean
The equality method for reference types. Default implementation delegates to
eq
.
See also equals
in scala.Any.
- returns
true
if the receiver object is equivalent to the argument; false
otherwise.
- Definition Classes
(defined at scala.Enumeration.Value)
Instance Constructors From scala.Enumeration.Value
new Value()
(defined at scala.Enumeration.Value)
Concrete Value Members From scala.math.Ordered
def <(that: Value): Boolean
Returns true if this
is less than that
(defined at scala.math.Ordered)
def <=(that: Value): Boolean
Returns true if this
is less than or equal to that
.
(defined at scala.math.Ordered)
def >(that: Value): Boolean
Returns true if this
is greater than that
.
(defined at scala.math.Ordered)
def >=(that: Value): Boolean
Returns true if this
is greater than or equal to that
.
(defined at scala.math.Ordered)
def compareTo(that: Value): Int
Result of comparing this
with operand that
.
- Definition Classes
- Ordered → Comparable
(defined at scala.math.Ordered)
Full Source: