Class

scala.Enumeration

Val

Related Doc: package Enumeration

Permalink

class Val 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.

Attributes
protected
Annotations
@SerialVersionUID()
Linear Supertypes
Value, Serializable, java.io.Serializable, math.Ordered[Value], Comparable[Value], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Val
  2. Value
  3. Serializable
  4. Serializable
  5. Ordered
  6. Comparable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Val()

    Permalink
  2. new Val(name: String)

    Permalink
  3. new Val(i: Int)

    Permalink
  4. new Val(i: Int, name: String)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(v: Value): ValueSet

    Permalink

    Create a ValueSet which contains this value and another one

    Create a ValueSet which contains this value and another one

    Definition Classes
    Value
  4. def <(that: Value): Boolean

    Permalink

    Returns true if this is less than that

    Returns true if this is less than that

    Definition Classes
    Ordered
  5. def <=(that: Value): Boolean

    Permalink

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

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

    Definition Classes
    Ordered
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. def >(that: Value): Boolean

    Permalink

    Returns true if this is greater than that.

    Returns true if this is greater than that.

    Definition Classes
    Ordered
  8. def >=(that: Value): Boolean

    Permalink

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

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

    Definition Classes
    Ordered
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compare(that: Value): Int

    Permalink

    Result of comparing this with operand that.

    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
    ValueOrdered
  12. def compareTo(that: Value): Int

    Permalink

    Result of comparing this with operand that.

    Result of comparing this with operand that.

    Definition Classes
    Ordered → Comparable
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Value → AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    Value → AnyRef → Any
  18. def id: Int

    Permalink

    the id and bit location of this enumeration value

    the id and bit location of this enumeration value

    Definition Classes
    ValValue
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def readResolve(): AnyRef

    Permalink
    Attributes
    protected
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    Val → AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Value

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from math.Ordered[Value]

Inherited from Comparable[Value]

Inherited from AnyRef

Inherited from Any

Ungrouped