PartiallyOrdered

scala.math.PartiallyOrdered
trait PartiallyOrdered[+A]

A class for partially ordered data.

Attributes

Source
PartiallyOrdered.scala
Graph
Supertypes
class Any

Members list

Type members

Types

Attributes

Source
PartiallyOrdered.scala

Value members

Abstract methods

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

Attributes

Source
PartiallyOrdered.scala

Concrete methods

def <[B >: A : AsPartiallyOrdered](that: B): Boolean

Attributes

Source
PartiallyOrdered.scala
def <=[B >: A : AsPartiallyOrdered](that: B): Boolean

Attributes

Source
PartiallyOrdered.scala
def >[B >: A : AsPartiallyOrdered](that: B): Boolean

Attributes

Source
PartiallyOrdered.scala
def >=[B >: A : AsPartiallyOrdered](that: B): Boolean

Attributes

Source
PartiallyOrdered.scala