VelocityNumeric

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

Type members

Inherited classlikes

class NumericOps
Inherited from
Numeric
Inherited from
Ordering

Value members

Inherited methods

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

Deprecated and Inherited methods

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

Inherited fields

Implicits

Inherited implicits

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