|
Scala Library
|
|
scala/Ordered.scala]
trait
Ordered[A]
extends AnyRef| Method 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
|
|