scala.math.Ordering

trait UnitOrdering

[source: scala/math/Ordering.scala]

trait UnitOrdering
extends Ordering[Unit]
Direct Known Subclasses:
Ordering.Unit

Method Summary
def compare (x : Unit, y : Unit) : 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
def compare(x : Unit, y : Unit) : 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