scala.Ordering

trait LongOrdering

[source: scala/Ordering.scala]

trait LongOrdering
extends Ordering[Long]
Direct Known Subclasses:
Numeric.LongIsIntegral, Ordering.Long

Method Summary
def compare (x : Long, y : Long) : 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
lteq, gteq, lt, gt, equiv, max, min, reverse, 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
def compare(x : Long, y : Long) : 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.
Overrides
Ordering.compare