VolumeNumeric

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

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: Volume): Double
def toFloat(x: Volume): Float
def toInt(x: Volume): Int
def toLong(x: Volume): Long
def tryCompare(x: Volume, y: Volume): Some[Int]
Inherited from
Ordering
def zero: Volume
Inherited from
Numeric

Deprecated and Inherited methods

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

Inherited fields

Implicits

Inherited implicits

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