scala.Ordering

trait CharOrdering

[source: scala/Ordering.scala]

trait CharOrdering
extends Ordering[Char]
Direct Known Subclasses:
Ordering.Char

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