|
Scala Library
|
|
scala/math/Ordering.scala]
trait
DoubleOrdering
extends Ordering[Double]| Method Summary | |
def
|
compare
(x : Double, y : Double) : Int
Returns a negative integer iff
x comes before
y in the ordering, returns 0 iff x
is the same in the ordering as y, and returns a
positive number iff x comes after
y in the ordering. |
| Methods inherited from Ordering | |
| tryCompare, lteq, gteq, lt, gt, equiv, max, min, reverse, on, mkOrderingOps |
| 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 |
x comes before
y in the ordering, returns 0 iff x
is the same in the ordering as y, and returns a
positive number iff x comes after
y in the ordering.|
Scala Library
|
|