Numeric

scas.math.Numeric
See theNumeric companion object
trait Numeric[T] extends Ordering[T]

Attributes

Companion
object
Graph
Supertypes
trait Ordering[T]
trait PartialOrdering[T]
trait Equiv[T]
trait Ordering[T]
trait PartialOrdering[T]
trait Equiv[T]
trait Serializable
trait Comparator[T]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Inherited classlikes

class OrderingOps(lhs: Ordering.this.T)

Attributes

Inherited from:
Ordering
Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

def fromInt(x: Int): T

Concrete methods

def abs(x: T): T
def one: T
def zero: T

Inherited methods

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Ordering

Inherited and Abstract methods

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

Attributes

Inherited from:
Ordering

Extensions

Extensions

extension (x: T)
def *(y: T): T
def +(y: T): T
def -(y: T): T
def unary_-: T
extension (x: T)
def toInt: Int
def toLong: Long
extension (x: T)
def signum: Int

Inherited extensions

extension (x: T)
inline def <>[U : Conversion[T]](y: U): Boolean

Attributes

Inherited from:
Equiv
inline def ><[U : Conversion[T]](y: U): Boolean

Attributes

Inherited from:
Equiv
extension (x: T)
def <[U : Conversion[T]](y: U): Boolean

Attributes

Inherited from:
PartialOrdering
inline def <=[U : Conversion[T]](y: U): Boolean

Attributes

Inherited from:
PartialOrdering
def >[U : Conversion[T]](y: U): Boolean

Attributes

Inherited from:
PartialOrdering
inline def >=[U : Conversion[T]](y: U): Boolean

Attributes

Inherited from:
PartialOrdering

Implicits

Inherited implicits

implicit def mkOrderingOps(lhs: T): OrderingOps

Attributes

Inherited from:
Ordering