PartiallyOrdered

trait PartiallyOrdered[+A]

A class for partially ordered data.

Source
PartiallyOrdered.scala
class Any

Type members

Value members

Abstract methods

def tryCompareTo[B >: A](that: B)(implicit `evidence$1`: () => B): Option[Int]

Result of comparing this with operand that.

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

Source
PartiallyOrdered.scala

Concrete methods

def <[B >: A](that: B)(implicit `evidence$2`: () => B): Boolean
def <=[B >: A](that: B)(implicit `evidence$4`: () => B): Boolean
def >[B >: A](that: B)(implicit `evidence$3`: () => B): Boolean
def >=[B >: A](that: B)(implicit `evidence$5`: () => B): Boolean