in scala/Enumeration-class
trait Value

trait Value()
extends Ordered[Value]
with ScalaObject
Implementing classes or objects:
class Val(i: Int, name: String)

Method Summary
override def compareTo[S >: Value](view: (S) => Ordered[S])(that: S): Int
     Result of comparing `this' with operand `that'.
abstract def id: Int

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/Ordered-class
<, <=, >, >=

Methods inherited from scala/ScalaObject-class
getScalaType

Method Detail

id

  abstract def id: Int

compareTo

  override def compareTo[S >: Value](view: (S) => Ordered[S])(that: S): Int
Result of comparing `this' with operand `that'. returns `x' where x < 0 iff this < that x == 0 iff this == that x > 0 iff this > that