Val

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

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)

Concrete methods

override def toString(): String
Definition Classes
Any
Source
Enumeration.scala

Inherited methods

def +(v: Value): ValueSet

Create a ValueSet which contains this value and another one

Inherited from
Value
Source
Enumeration.scala
def <(that: Value): Boolean

Returns true if this is less than that

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

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

Inherited from
Ordered
Source
Ordered.scala
def >(that: Value): Boolean

Returns true if this is greater than that.

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

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

Inherited from
Ordered
Source
Ordered.scala
override def compare(that: Value): Int
Definition Classes
Inherited from
Value
Source
Enumeration.scala
def compareTo(that: Value): Int

Result of comparing this with operand that.

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