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.

Source:
Enumeration.scala
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
Source:
Enumeration.scala

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
Source:
Enumeration.scala
def <(that: Value): Boolean

Returns true if this is less than that

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.

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.

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.

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.

Result of comparing this with operand that.

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