scala.math.Ordering

trait StringOrdering

[source: scala/math/Ordering.scala]

trait StringOrdering
extends Ordering[java.lang.String]
Direct Known Subclasses:
Ordering.String

Method Summary
def compare (x : java.lang.String, y : java.lang.String) : 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 : java.lang.String, y : java.lang.String) : 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