U
- Unitpublic static class FloatScalar.Rel<U extends Unit<U>> extends AbstractFloatScalarRel<U,FloatScalar.Rel<U>>
si
Constructor and Description |
---|
Rel(FloatScalar.Rel<U> value)
Construct a new Relative Immutable FloatScalar from an existing Relative Immutable FloatScalar.
|
Rel(float value,
U unit)
Construct a new Relative Immutable FloatScalar.
|
Modifier and Type | Method and Description |
---|---|
FloatScalar.Rel<U> |
instantiateRel(float value,
U unit)
Construct a new Relative Immutable FloatScalar of the right type.
|
abs, ceil, divideBy, floor, minus, multiplyBy, neg, plus, rint, round
compareTo, doubleValue, eq, eq0, equals, floatValue, ge, ge0, getInUnit, getInUnit, getSI, gt, gt0, hashCode, intValue, le, le0, longValue, lt, lt0, ne, ne0, toString, toString, toString, toString
expressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelative, setDisplayUnit
byteValue, shortValue
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
DIV, MULT, POW
public Rel(float value, U unit)
value
- float; the value of the new Relative Immutable FloatScalarunit
- U; the unit of the new Relative Immutable FloatScalarpublic Rel(FloatScalar.Rel<U> value)
value
- FloatScalar.Rel<U>; the referencepublic final FloatScalar.Rel<U> instantiateRel(float value, U unit)
instantiateRel
in class AbstractFloatScalarRel<U extends Unit<U>,FloatScalar.Rel<U extends Unit<U>>>
value
- float; the float valueunit
- U; the unitCopyright © 2015–2019 Delft University of Technology. All rights reserved.