in scala
trait Ordered

abstract trait Ordered [a]
extends java.lang.Object
with scala.ScalaObject
A class for totally ordered data. Note that since version 2006-07-24 this class is no longer covariant in a.
Author:
Martin Odersky
Version:
1.1, 2006-07-24
Direct Known Subclasses:
RichString, RichShort, RichLong, RichInt, RichFloat, RichDouble, RichChar, RichByte, RichBoolean, Value, WakedActor

Def Summary
def < (that: a) : scala.Boolean

def <= (that: a) : scala.Boolean

def > (that: a) : scala.Boolean

def >= (that: a) : scala.Boolean

abstract def compare (that: a) : scala.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
def compareTo (that: a) : scala.Int

Def Detail
def < (that: a): scala.Boolean

def <= (that: a): scala.Boolean

def > (that: a): scala.Boolean

def >= (that: a): scala.Boolean

abstract def compare (that: a): scala.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

def compareTo (that: a): scala.Int