PartiallyOrdered

trait PartiallyOrdered[+A]

A class for partially ordered data.

A class for partially ordered data.

class Any

Type members

Value members

Abstract methods

def tryCompareTo[B >: A](that: B)(`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

Concrete methods

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