AU - Absolute unitRU - Relative unitpublic static class DoubleScalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>> extends AbstractDoubleScalarAbs<AU,DoubleScalar.Abs<AU,RU>,RU,DoubleScalar.Rel<RU>>
siNUMBER_PATTERN| Constructor and Description |
|---|
Abs(double value,
AU unit)
Construct a new Absolute Immutable DoubleScalar.
|
Abs(DoubleScalar.Abs<AU,RU> value)
Construct a new Absolute Immutable DoubleScalar from an existing Absolute Immutable DoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<AU,RU> |
instantiateAbs(double value,
AU unit)
Construct a new Absolute Immutable DoubleScalar of the right type.
|
DoubleScalar.Rel<RU> |
instantiateRel(double value,
RU unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
ceil, divideBy, floor, interpolate, minus, minus, multiplyBy, plus, rint, roundcompareTo, doubleValue, eq, eq0, equals, floatValue, ge, ge0, getInUnit, getInUnit, getSI, gt, gt0, hashCode, intValue, le, le0, longValue, lt, lt0, ne, ne0, toString, toString, toString, toStringexpressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelative, setDisplayUnit, stringOf, stringOfDefaultLocale, textualStringOf, textualStringOfDefaultLocalebyteValue, shortValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitDIV, MULT, POWpublic Abs(double value,
AU unit)
value - double; the value of the new Absolute Immutable DoubleScalarunit - AU; the unit of the new Absolute Immutable DoubleScalarpublic Abs(DoubleScalar.Abs<AU,RU> value)
value - DoubleScalar.Abs<AU, RU>; the referencepublic final DoubleScalar.Abs<AU,RU> instantiateAbs(double value, AU unit)
instantiateAbs in class AbstractDoubleScalarAbs<AU extends AbsoluteLinearUnit<AU,RU>,DoubleScalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>,RU extends Unit<RU>,DoubleScalar.Rel<RU extends Unit<RU>>>value - double; the double valueunit - AU; the unitpublic final DoubleScalar.Rel<RU> instantiateRel(double value, RU unit)
instantiateRel in class AbstractDoubleScalarAbs<AU extends AbsoluteLinearUnit<AU,RU>,DoubleScalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>,RU extends Unit<RU>,DoubleScalar.Rel<RU extends Unit<RU>>>value - double; the double valueunit - RU; the unitCopyright © 2015–2019 Delft University of Technology. All rights reserved.