public static class GenMath.MutableDouble
extends java.lang.Object
Constructor and Description |
---|
GenMath.MutableDouble(double value)
Constructor creates a MutableDouble object with an initial value.
|
Modifier and Type | Method and Description |
---|---|
double |
doubleValue()
Method to return the value of this MutableDouble.
|
void |
setValue(double value)
Method to change the value of this MutableDouble.
|
java.lang.String |
toString()
Returns a printable version of this MutableDouble.
|
public GenMath.MutableDouble(double value)
value
- the initial value.public void setValue(double value)
value
- the new value.public double doubleValue()
public java.lang.String toString()
toString
in class java.lang.Object