ValueTypeOrd

scalation.ValueTypeOrd
object ValueTypeOrd extends Ordering[ValueType]

The ValueTypeOrd object provides Ordering for ValueType via the compare method. Used by methods that need Ordering for ValueType, e.g., max (ValueTypeOrd).

Attributes

Graph
Supertypes
trait Ordering[ValueType]
trait PartialOrdering[ValueType]
trait Equiv[ValueType]
trait Serializable
trait Comparator[ValueType]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited classlikes

class OrderingOps(lhs: T)

Attributes

Inherited from:
Ordering
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def compare(x: ValueType, y: ValueType): Int

Inherited methods

override def equiv(x: ValueType, y: ValueType): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering -> Equiv
Inherited from:
Ordering
override def gt(x: ValueType, y: ValueType): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
override def gteq(x: ValueType, y: ValueType): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def isReverseOf(other: Ordering[_]): Boolean

Attributes

Inherited from:
Ordering
override def lt(x: ValueType, y: ValueType): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
override def lteq(x: ValueType, y: ValueType): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def max[U <: ValueType](x: U, y: U): U

Attributes

Inherited from:
Ordering
def min[U <: ValueType](x: U, y: U): U

Attributes

Inherited from:
Ordering
def on[U](f: U => ValueType): Ordering[U]

Attributes

Inherited from:
Ordering
def orElse(other: Ordering[ValueType]): Ordering[ValueType]

Attributes

Inherited from:
Ordering
def orElseBy[S](f: ValueType => S)(implicit ord: Ordering[S]): Ordering[ValueType]

Attributes

Inherited from:
Ordering
override def reverse: Ordering[ValueType]

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def reversed(): Comparator[ValueType]

Attributes

Inherited from:
Comparator
def thenComparing[U <: Comparable[_ >: U <: <FromJavaObject>]](x$0: Function[_ >: ValueType <: <FromJavaObject>, _ <: U]): Comparator[ValueType]

Attributes

Inherited from:
Comparator
def thenComparing[U <: <FromJavaObject>](x$0: Function[_ >: ValueType <: <FromJavaObject>, _ <: U], x$1: Comparator[_ >: U <: <FromJavaObject>]): Comparator[ValueType]

Attributes

Inherited from:
Comparator
def thenComparing(x$0: Comparator[_ >: ValueType <: <FromJavaObject>]): Comparator[ValueType]

Attributes

Inherited from:
Comparator
def thenComparingDouble(x$0: ToDoubleFunction[_ >: ValueType <: <FromJavaObject>]): Comparator[ValueType]

Attributes

Inherited from:
Comparator
def thenComparingInt(x$0: ToIntFunction[_ >: ValueType <: <FromJavaObject>]): Comparator[ValueType]

Attributes

Inherited from:
Comparator
def thenComparingLong(x$0: ToLongFunction[_ >: ValueType <: <FromJavaObject>]): Comparator[ValueType]

Attributes

Inherited from:
Comparator
def tryCompare(x: ValueType, y: ValueType): Some[Int]

Attributes

Inherited from:
Ordering

Implicits

Inherited implicits

implicit def mkOrderingOps(lhs: ValueType): OrderingOps

Attributes

Inherited from:
Ordering