Scala Library Documentation
|
|
scala/PartiallyOrdered.scala
]
trait
PartiallyOrdered[+A]
extends
AnyRefMethod 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 |
Scala Library Documentation
|
|