U - Unitpublic static class DoubleScalar.Rel<U extends Unit<U>> extends AbstractDoubleScalarRel<U,DoubleScalar.Rel<U>>
siNUMBER_PATTERN| Constructor and Description |
|---|
Rel(DoubleScalar.Rel<U> value)
Construct a new Relative Immutable DoubleScalar from an existing Relative Immutable DoubleScalar.
|
Rel(double value,
U unit)
Construct a new Relative Immutable DoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<U> |
instantiateRel(double value,
U unit)
Construct a new Relative Immutable DoubleScalar of the right type.
|
abs, ceil, divideBy, floor, interpolate, minus, multiplyBy, neg, 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 Rel(double value,
U unit)
value - double; the value of the new Relative Immutable DoubleScalarunit - U; the unit of the new Relative Immutable DoubleScalarpublic Rel(DoubleScalar.Rel<U> value)
value - DoubleScalar.Rel<U>; the referencepublic final DoubleScalar.Rel<U> instantiateRel(double value, U unit)
instantiateRel in class AbstractDoubleScalarRel<U extends Unit<U>,DoubleScalar.Rel<U extends Unit<U>>>value - double; the double valueunit - U; the unitCopyright © 2015–2019 Delft University of Technology. All rights reserved.