Val

@SerialVersionUID(0.-(3501153230598116017L)) protected class Val(i: Int, name: String) extends Value with Serializable

A class implementing the scala.Enumeration.Value type.

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

class Value
trait Ordered[Value]
class Object
trait Matchable
class Any

Value members

Constructors

def this(i: Int)
def this(name: String)
def this()

Concrete methods

def id: Int
override def toString(): String
Definition Classes
Any

Inherited methods

def +(v: Value): ValueSet

Create a ValueSet which contains this value and another one

Create a ValueSet which contains this value and another one

Inherited from
Value
def <(that: Value): Boolean

Returns true if this is less than that

Returns true if this is less than that

Inherited from
Ordered
def <=(that: Value): Boolean

Returns true if this is less than or equal to that.

Returns true if this is less than or equal to that.

Inherited from
Ordered
def >(that: Value): Boolean

Returns true if this is greater than that.

Returns true if this is greater than that.

Inherited from
Ordered
def >=(that: Value): Boolean

Returns true if this is greater than or equal to that.

Returns true if this is greater than or equal to that.

Inherited from
Ordered
override def compare(that: Value): Int
Definition Classes
Inherited from
Value
def compareTo(that: Value): Int

Result of comparing this with operand that.

Result of comparing this with operand that.

Inherited from
Ordered
override def equals(other: Any): Boolean
Definition Classes
Value -> Any
Inherited from
Value
override def hashCode: Int
Definition Classes
Value -> Any
Inherited from
Value