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