AU - Absolute unitRU - Relative unitpublic static class FloatScalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>> extends AbstractFloatScalarAbs<AU,FloatScalar.Abs<AU,RU>,RU,FloatScalar.Rel<RU>>
siNUMBER_PATTERN| Constructor and Description |
|---|
Abs(float value,
AU unit)
Construct a new Absolute Immutable FloatScalar.
|
Abs(FloatScalar.Abs<AU,RU> value)
Construct a new Absolute Immutable FloatScalar from an existing Absolute Immutable FloatScalar.
|
| Modifier and Type | Method and Description |
|---|---|
FloatScalar.Abs<AU,RU> |
instantiateAbs(float value,
AU unit)
Construct a new Absolute Immutable FloatScalar of the right type.
|
FloatScalar.Rel<RU> |
instantiateRel(float value,
RU unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
ceil, divideBy, floor, 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(float value,
AU unit)
value - float; the value of the new Absolute Immutable FloatScalarunit - AU; the unit of the new Absolute Immutable FloatScalarpublic Abs(FloatScalar.Abs<AU,RU> value)
value - FloatScalar.Abs<AU, RU>; the referencepublic final FloatScalar.Abs<AU,RU> instantiateAbs(float value, AU unit)
instantiateAbs in class AbstractFloatScalarAbs<AU extends AbsoluteLinearUnit<AU,RU>,FloatScalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>,RU extends Unit<RU>,FloatScalar.Rel<RU extends Unit<RU>>>value - float; the float valueunit - AU; the unitpublic final FloatScalar.Rel<RU> instantiateRel(float value, RU unit)
instantiateRel in class AbstractFloatScalarAbs<AU extends AbsoluteLinearUnit<AU,RU>,FloatScalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,RU extends Unit<RU>>,RU extends Unit<RU>,FloatScalar.Rel<RU extends Unit<RU>>>value - float; the float valueunit - RU; the unitCopyright © 2015–2019 Delft University of Technology. All rights reserved.