Scala Library: scala.math.PartiallyOrdered
scala.math.PartiallyOrdered
A class for partially ordered data.
- Source
- Version
- 1.0, 23/04/2004
Abstract Value Members From scala.math.PartiallyOrdered
abstract def tryCompareTo[B >: A](that: B)(implicit arg0: (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
iffthis < that
x == 0
iffthis == that
x > 0
iffthis > that
(defined at scala.math.PartiallyOrdered)
Concrete Value Members From scala.math.PartiallyOrdered
def <=[B >: A](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean
(defined at scala.math.PartiallyOrdered)
def <[B >: A](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean
(defined at scala.math.PartiallyOrdered)
def >=[B >: A](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean
(defined at scala.math.PartiallyOrdered)
def >[B >: A](that: B)(implicit arg0: (B) ⇒ PartiallyOrdered[B]): Boolean
(defined at scala.math.PartiallyOrdered)
Full Source:
Interested in Scala?
I send out weekly, personalized emails with articles and conference talks.
Subscribe now.