Scala Library Documentation


scala/Ordered.scala
]
trait
Ordered[a]
extends
AnyRefMethod Summary  
def

< (that : a) : Boolean 
def

<= (that : a) : Boolean 
def

> (that : a) : Boolean 
def

>= (that : a) : Boolean 
abstract def

compare
(that : a) : 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) : Int 
Methods inherited from AnyRef  
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized 
Methods inherited from Any  
==, !=, isInstanceOf, asInstanceOf 
Method Details 
this
with operand that
.
returns x
where
x < 0
iff this < that
x == 0
iff this == that
x > 0
iff this > that
Scala Library Documentation

