scala.Enumeration

Val

class Val extends Value

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

attributes: protected
known subclasses: Value
source: Enumeration.scala
Inherited
  1. Hide All
  2. Show all
  1. Value
  2. Ordered
  3. Comparable
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance constructors

  1. new Val()

  2. new Val(name: String)

  3. new Val(i: Int)

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

Value Members

  1. def !=(arg0: AnyRef): Boolean

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def <(that: Value): Boolean

  7. def <=(that: Value): Boolean

  8. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  9. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  10. def >(that: Value): Boolean

  11. def >=(that: Value): Boolean

  12. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  13. def clone(): AnyRef

    This method creates and returns a copy of the receiver object.

  14. def compare(that: Value): Int

    Result of comparing this with operand that.

  15. def compareTo(that: Value): Int

  16. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  17. def equals(other: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

  18. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

  19. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object.

  20. def hashCode(): Int

    Returns a hash code value for the object.

  21. def id: Int

    the id and bit location of this enumeration value

  22. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  23. def mask32: Int

    this enumeration value as an Int bit mask.

  24. def mask64: Long

    this enumeration value as a Long bit mask.

  25. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  26. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

  27. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

  28. def readResolve(): AnyRef

  29. def synchronized[T0](arg0: T0): T0

  30. def toString(): String

    Returns a string representation of the object.

  31. def wait(): Unit

  32. def wait(arg0: Long, arg1: Int): Unit

  33. def wait(arg0: Long): Unit