U - Unitpublic static class FloatScalar.Rel<U extends Unit<U>> extends FloatScalar<U> implements Relative, Comparable<FloatScalar.Rel<U>>
FloatScalar.Abs<U extends Unit<U>>, FloatScalar.Rel<U extends Unit<U>>| 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.
|
Rel(MutableFloatScalar.Rel<U> value)
Construct a new Relative Immutable FloatScalar from an existing Relative MutableFloatScalar.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FloatScalar.Rel<U> o) |
FloatScalar.Rel<U> |
copy()
Create a deep copy of this Value.
|
boolean |
eq(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is equal to a FloatScalar.Rel<U>.
|
boolean |
eq(MutableFloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is equal to a MutableFloatScalar.Rel<U>.
|
boolean |
ge(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is greater than a FloatScalar.Rel<U>.
|
boolean |
ge(MutableFloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is greater than a MutableFloatScalar.Rel<U>.
|
boolean |
gt(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is greater than or equal to a FloatScalar.Rel<U>.
|
boolean |
gt(MutableFloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is greater than or equal to a MutableFloatScalar.Rel<U>.
|
boolean |
le(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is less than or equal to a FloatScalar.Rel<U>.
|
boolean |
le(MutableFloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is less than or equal to a MutableFloatScalar.Rel<U>.
|
boolean |
lt(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is less than a FloatScalar.Rel<U>.
|
boolean |
lt(MutableFloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is less than a MutableFloatScalar.Rel<U>.
|
MutableFloatScalar.Rel<U> |
mutable()
Create a mutable version of this FloatScalar.
|
boolean |
ne(FloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is not equal to a FloatScalar.Rel<U>.
|
boolean |
ne(MutableFloatScalar.Rel<U> o)
Test if this FloatScalar.Rel<U> is not equal to a MutableFloatScalar.Rel<U>.
|
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 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 Rel(MutableFloatScalar.Rel<U> value)
value - MutableFloatScalar.Rel<U>; the referencepublic final MutableFloatScalar.Rel<U> mutable()
mutable in class FloatScalar<U extends Unit<U>>public final int compareTo(FloatScalar.Rel<U> o)
compareTo in interface Comparable<FloatScalar.Rel<U extends Unit<U>>>public final FloatScalar.Rel<U> copy()
public final boolean lt(FloatScalar.Rel<U> o)
o - FloatScalar.Rel<U>; the right hand side operand of the comparisonpublic final boolean le(FloatScalar.Rel<U> o)
o - FloatScalar.Rel<U>; the right hand side operand of the comparisonpublic final boolean gt(FloatScalar.Rel<U> o)
o - FloatScalar.Rel<U>; the right hand side operand of the comparisonpublic final boolean ge(FloatScalar.Rel<U> o)
o - FloatScalar.Rel<U>; the right hand side operand of the comparisonpublic final boolean eq(FloatScalar.Rel<U> o)
o - FloatScalar.Rel<U>; the right hand side operand of the comparisonpublic final boolean ne(FloatScalar.Rel<U> o)
o - FloatScalar.Rel<U>; the right hand side operand of the comparisonpublic final boolean lt(MutableFloatScalar.Rel<U> o)
o - MutableFloatScalar.Rel<U>; the right hand side operand of the comparisonpublic final boolean le(MutableFloatScalar.Rel<U> o)
o - MutableFloatScalar.Rel<U>; the right hand side operand of the comparisonpublic final boolean gt(MutableFloatScalar.Rel<U> o)
o - MutableFloatScalar.Rel<U>; the right hand side operand of the comparisonpublic final boolean ge(MutableFloatScalar.Rel<U> o)
o - MutableFloatScalar.Rel<U>; the right hand side operand of the comparisonpublic final boolean eq(MutableFloatScalar.Rel<U> o)
o - MutableFloatScalar.Rel<U>; the right hand side operand of the comparisonpublic final boolean ne(MutableFloatScalar.Rel<U> o)
o - MutableFloatScalar.Rel<U>; the right hand side operand of the comparisonCopyright © 2014–2015 Delft University of Technology. All rights reserved.