Example usage for Java org.apache.commons.lang3.mutable MutableDouble fields, constructors, methods, implement or subclass
The text is from its open source code.
MutableDouble(final double value) Constructs a new MutableDouble with the specified value. | |
MutableDouble(final Number value) Constructs a new MutableDouble with the specified value. | |
MutableDouble(final String value) Constructs a new MutableDouble parsing the given string. | |
MutableDouble() Constructs a new MutableDouble with the default value of zero. |
void | add(final double operand) Adds a value to the value of this instance. |
void | add(final Number operand) Adds a value to the value of this instance. |
double | doubleValue() Returns the value of this MutableDouble as a double. |
Double | getValue() Gets the value as a Double instance. |
int | intValue() Returns the value of this MutableDouble as an int. |
void | setValue(final double value) Sets the value. |
void | setValue(final Number value) Sets the value from any Number instance. |
Double | toDouble() Gets this mutable as an instance of Double. |