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