Example usage for Java org.apache.commons.lang.mutable MutableDouble fields, constructors, methods, implement or subclass
The text is from its open source code.
MutableDouble(double value) Constructs a new MutableDouble with the specified value. | |
MutableDouble(Number value) Constructs a new MutableDouble with the specified value. | |
MutableDouble() Constructs a new MutableDouble with the default value of zero. |
void | add(double operand) Adds a value. |
void | add(Number operand) Adds a value. |
double | doubleValue() Returns the value of this MutableDouble as a double. |
boolean | equals(Object obj) Compares this object against the specified object. |
float | floatValue() Returns the value of this MutableDouble as a float. |
Object | getValue() Gets the value as a Double instance. |
void | increment() Increments the value. |
int | intValue() Returns the value of this MutableDouble as a int. |
long | longValue() Returns the value of this MutableDouble as a long. |
void | setValue(double value) Sets the value. |
void | setValue(Object value) Sets the value from any Number instance. |
short | shortValue() Returns the value of the specified number as a short . |