org.onemind.commons.java.lang
public class MutableFloat extends java.lang.Number
Modifier and Type | Field and Description |
---|---|
private float |
_value
the float value *
|
Constructor and Description |
---|
MutableFloat(float l) |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
void |
dec(float i)
decrease by i
|
double |
doubleValue() |
float |
floatValue() |
void |
inc(float i)
increase by i
|
int |
intValue() |
long |
longValue() |
void |
set(float l)
Set the float value
|
short |
shortValue() |
java.lang.String |
toString() |
public final void set(float l)
l
- the valuepublic final byte byteValue()
byteValue
in class java.lang.Number
public final double doubleValue()
doubleValue
in class java.lang.Number
public final float floatValue()
floatValue
in class java.lang.Number
public final int intValue()
intValue
in class java.lang.Number
public final long longValue()
longValue
in class java.lang.Number
public final short shortValue()
shortValue
in class java.lang.Number
public void inc(float i)
i
- the value to increasepublic void dec(float i)
i
- the value to decreasepublic java.lang.String toString()
toString
in class java.lang.Object