scala

trait PartiallyOrdered

[source: scala/PartiallyOrdered.scala]

trait PartiallyOrdered[+a]
extends AnyRef
A class for partially ordered data.
Author
Martin Odersky
Version
1.0, 23/04/2004
Method Summary
def < [b >: a](that : b)(implicit view$1 : (b) => PartiallyOrdered[b]) : Boolean
def <= [b >: a](that : b)(implicit view$3 : (b) => PartiallyOrdered[b]) : Boolean
def > [b >: a](that : b)(implicit view$2 : (b) => PartiallyOrdered[b]) : Boolean
def >= [b >: a](that : b)(implicit view$4 : (b) => PartiallyOrdered[b]) : Boolean
abstract def tryCompareTo [b >: a](that : b)(implicit view$0 : (b) => PartiallyOrdered[b]) : Option[Int]
Result of comparing this with operand that. Returns None if operands are not comparable. If operands are comparable, returns Some(x) where x < 0 iff this < that x == 0 iff this == that x > 0 iff this > that
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
abstract def tryCompareTo[b >: a](that : b)(implicit view$0 : (b) => PartiallyOrdered[b]) : Option[Int]
Result of comparing this with operand that. Returns None if operands are not comparable. If operands are comparable, returns Some(x) where x < 0 iff this < that x == 0 iff this == that x > 0 iff this > that

def <[b >: a](that : b)(implicit view$1 : (b) => PartiallyOrdered[b]) : Boolean

def >[b >: a](that : b)(implicit view$2 : (b) => PartiallyOrdered[b]) : Boolean

def <=[b >: a](that : b)(implicit view$3 : (b) => PartiallyOrdered[b]) : Boolean

def >=[b >: a](that : b)(implicit view$4 : (b) => PartiallyOrdered[b]) : Boolean