DensityNumeric

trait Numeric[Density]
trait Ordering[Density]
trait PartialOrdering[Density]
trait Equiv[Density]
trait Serializable
trait Comparator[Density]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class NumericOps
Inherited from
Numeric
Inherited from
Ordering

Value members

Inherited methods

def abs(x: Density): Density
Inherited from
Numeric
def compare(x: Density, y: Density): Int
override def equiv(x: Density, y: Density): Boolean
Definition Classes
Ordering -> PartialOrdering -> Equiv
Inherited from
Ordering
def fromInt(x: Int): Density
override def gt(x: Density, y: Density): Boolean
Definition Classes
Ordering -> PartialOrdering
Inherited from
Ordering
override def gteq(x: Density, y: Density): Boolean
Definition Classes
Ordering -> PartialOrdering
Inherited from
Ordering
def isReverseOf(other: Ordering[_]): Boolean
Inherited from
Ordering
override def lt(x: Density, y: Density): Boolean
Definition Classes
Ordering -> PartialOrdering
Inherited from
Ordering
override def lteq(x: Density, y: Density): Boolean
Definition Classes
Ordering -> PartialOrdering
Inherited from
Ordering
def max[U <: Density](x: U, y: U): U
Inherited from
Ordering
def min[U <: Density](x: U, y: U): U
Inherited from
Ordering
def on[U](f: U => Density): Ordering[U]
Inherited from
Ordering
def one: Density
Inherited from
Numeric
def orElse(other: Ordering[Density]): Ordering[Density]
Inherited from
Ordering
def orElseBy[S](f: Density => S)(ord: Ordering[S]): Ordering[Density]
Inherited from
Ordering
def parseString(str: String): Option[Density]
override def reverse: Ordering[Density]
Definition Classes
Ordering -> PartialOrdering
Inherited from
Ordering
def reversed(): Comparator[Density]
Inherited from
Comparator
def sign(x: Density): Density
Inherited from
Numeric
def thenComparing[U <: Comparable[_ >: U <: `<FromJavaObject>`]](`x$0`: Function[_ >: T <: `<FromJavaObject>`, _ <: U]): Comparator[Density]
Inherited from
Comparator
def thenComparing[U <: `<FromJavaObject>`](`x$0`: Function[_ >: T <: `<FromJavaObject>`, _ <: U], `x$1`: Comparator[_ >: U <: `<FromJavaObject>`]): Comparator[Density]
Inherited from
Comparator
def thenComparing(`x$0`: Comparator[_ >: T <: `<FromJavaObject>`]): Comparator[Density]
Inherited from
Comparator
def thenComparingDouble(`x$0`: ToDoubleFunction[_ >: T <: `<FromJavaObject>`]): Comparator[Density]
Inherited from
Comparator
def thenComparingInt(`x$0`: ToIntFunction[_ >: T <: `<FromJavaObject>`]): Comparator[Density]
Inherited from
Comparator
def thenComparingLong(`x$0`: ToLongFunction[_ >: T <: `<FromJavaObject>`]): Comparator[Density]
Inherited from
Comparator

times is not a supported Numeric operation for Quantities. It is not possible to multiply a dimensional quantity by a like quantity and get another like quantity. Applying this class in a way that uses this method will result in an UnsupportedOperationException being thrown.

times is not a supported Numeric operation for Quantities. It is not possible to multiply a dimensional quantity by a like quantity and get another like quantity. Applying this class in a way that uses this method will result in an UnsupportedOperationException being thrown.

Value Params
x

Quantity[A]

y

Quantity[A]

Throws
scala.UnsupportedOperationException

for most types

Inherited from
AbstractQuantityNumeric
def toDouble(x: Density): Double
def toFloat(x: Density): Float
def toInt(x: Density): Int
def toLong(x: Density): Long
def tryCompare(x: Density, y: Density): Some[Int]
Inherited from
Ordering
Inherited from
Numeric

Deprecated and Inherited methods

@deprecated("use `sign` method instead", "2.13.0")
def signum(x: Density): Int
Deprecated
Inherited from
Numeric

Inherited fields

Implicits

Inherited implicits

implicit def mkNumericOps(lhs: Density): NumericOps
Inherited from
Numeric
implicit def mkOrderingOps(lhs: Density): OrderingOps
Inherited from
Ordering