@NotThreadSafe public class MutableFloat extends AbstractMutableNumeric<MutableFloat>
| Modifier and Type | Field and Description |
|---|---|
static float |
DEFAULT_VALUE
Deprecated.
|
| Constructor and Description |
|---|
MutableFloat()
Deprecated.
|
MutableFloat(float fValue) |
MutableFloat(Number aValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MutableFloat rhs) |
float |
dec() |
float |
dec(float fDelta) |
float |
dec(Number aDelta) |
float |
divide(float fDivisor) |
float |
divide(Number aDivisor) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
MutableFloat |
getClone() |
int |
hashCode() |
float |
inc()
Increment by 1 and return the modified value.
|
float |
inc(float fDelta) |
float |
inc(Number aDelta) |
int |
intValue() |
boolean |
is0() |
boolean |
isGE0() |
boolean |
isGT0() |
boolean |
isLE0() |
boolean |
isLT0() |
long |
longValue() |
float |
multiply(float fMultiplicand) |
float |
multiply(Number aMultiplicand) |
EChange |
set(float fValue) |
EChange |
set(Number aValue) |
String |
toString() |
getAsBigDecimal, getAsBigInteger, getAsByte, getAsCharacter, getAsDouble, getAsFloat, getAsInteger, getAsLong, getAsShort, onAfterChangebyteValue, shortValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitisGreater0, isGreaterOrEqual0, isNot0, isSmaller0, isSmallerOrEqual0isEQ, isEqualTo, isGE, isGreaterOrEqualThan, isGreaterThan, isGT, isLE, isLowerOrEqualThan, isLowerThan, isLT, isNEthisAsT@Deprecated public static final float DEFAULT_VALUE
@Deprecated public MutableFloat()
public MutableFloat(float fValue)
public float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic float inc()
public float inc(float fDelta)
public float dec()
public float dec(float fDelta)
public float divide(float fDivisor)
public float multiply(float fMultiplicand)
public boolean is0()
true if the value is 0public boolean isLT0()
true if the value is < 0public boolean isLE0()
true if the value is ≤ 0public boolean isGT0()
true if the value is > 0public boolean isGE0()
true if the value is ≥ 0public int compareTo(@Nonnull MutableFloat rhs)
@Nonnull public MutableFloat getClone()
Copyright © 2014–2017 Philip Helger. All rights reserved.