AbstractQuantityNumeric
Base class for creating objects to manage quantities as Numeric.
Base class for creating objects to manage quantities as Numeric.
One limitation is the times
operation which is not supported by every quantity type
- Type Params
- A
Quantity type
Type members
Value members
Concrete methods
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 methods
- Inherited from
- Comparator
- Inherited from
- Comparator