U
- Unitpublic static class FloatScalar.Abs<U extends Unit<U>> extends FloatScalar<U> implements Absolute, Comparable<FloatScalar.Abs<U>>
FloatScalar.Abs<U extends Unit<U>>, FloatScalar.Rel<U extends Unit<U>>
Constructor and Description |
---|
FloatScalar.Abs(FloatScalar.Abs<U> value)
Construct a new Absolute Immutable FloatScalar from an existing Absolute Immutable FloatScalar.
|
FloatScalar.Abs(float value,
U unit)
Construct a new Absolute Immutable FloatScalar.
|
FloatScalar.Abs(MutableFloatScalar.Abs<U> value)
Construct a new Absolute Immutable FloatScalar from an existing Absolute MutableFloatScalar.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FloatScalar.Abs<U> o) |
FloatScalar.Abs<U> |
copy()
Create a deep copy of this Value.
|
MutableFloatScalar.Abs<U> |
mutable()
Create a mutable version of this FloatScalar.
|
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, toString
expressAsSIUnit, expressAsSpecifiedUnit, getUnit, isAbsolute, isRelative
byteValue, shortValue
public FloatScalar.Abs(float value, U unit)
value
- float; the value of the new Absolute Immutable FloatScalarunit
- U; the unit of the new Absolute Immutable FloatScalarpublic FloatScalar.Abs(FloatScalar.Abs<U> value)
value
- FloatScalar.Abs<U>; the referencepublic FloatScalar.Abs(MutableFloatScalar.Abs<U> value)
value
- MutableFloatScalar.Abs<U>; the referencepublic final MutableFloatScalar.Abs<U> mutable()
mutable
in class FloatScalar<U extends Unit<U>>
public final int compareTo(FloatScalar.Abs<U> o)
compareTo
in interface Comparable<FloatScalar.Abs<U extends Unit<U>>>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.