U - Unitpublic static class DoubleScalar.Rel<U extends Unit<U>> extends DoubleScalar<U> implements Relative, Comparable<DoubleScalar.Rel<U>>
DoubleScalar.Abs<U extends Unit<U>>, DoubleScalar.Rel<U extends Unit<U>>| Constructor and Description |
|---|
DoubleScalar.Rel(DoubleScalar.Rel<U> value)
Construct a new Relative Immutable DoubleScalar from an existing Relative Immutable DoubleScalar.
|
DoubleScalar.Rel(double value,
U unit)
Construct a new Relative Immutable DoubleScalar.
|
DoubleScalar.Rel(MutableDoubleScalar.Rel<U> value)
Construct a new Relative Immutable DoubleScalar from an existing Relative MutableDoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DoubleScalar.Rel<U> o) |
DoubleScalar.Rel<U> |
copy()
Create a deep copy of this Value.
|
MutableDoubleScalar.Rel<U> |
mutable()
Create a mutable version of this DoubleScalar.
|
divide, divide, doubleValue, equals, floatValue, getInUnit, getInUnit, getSI, hashCode, initialize, initialize, interpolate, interpolate, intValue, longValue, minus, minus, minus, multiply, multiply, plus, plus, setValueSI, toString, toString, toString, toStringexpressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelativebyteValue, shortValuepublic DoubleScalar.Rel(double value,
U unit)
value - double; the value of the new Relative Immutable DoubleScalarunit - U; the unit of the new Relative Immutable DoubleScalarpublic DoubleScalar.Rel(DoubleScalar.Rel<U> value)
value - DoubleScalar.Rel<U>; the referencepublic DoubleScalar.Rel(MutableDoubleScalar.Rel<U> value)
value - MutableDoubleScalar.Rel<U>; the referencepublic final MutableDoubleScalar.Rel<U> mutable()
mutable in class DoubleScalar<U extends Unit<U>>public final int compareTo(DoubleScalar.Rel<U> o)
compareTo in interface Comparable<DoubleScalar.Rel<U extends Unit<U>>>Copyright © 2014–2015 Delft University of Technology. All rights reserved.