PartiallyOrdered

scala.math.PartiallyOrdered
trait PartiallyOrdered[+A] extends Any

A class for partially ordered data.

Type parameters

A

the type of the elements being ordered

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. Returns None if operands are not comparable. If operands are comparable, returns Some(x) where

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

Type parameters

B

a supertype of A for which an implicit conversion to PartiallyOrdered[B] exists

Value parameters

that

the value to compare against

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