Class MutableDouble
java.lang.Object
java.lang.Number
com.singularsys.jep.misc.boundvariable.MutableDouble
- All Implemented Interfaces:
Serializable
A simple Mutable Double class.
Contains a single Double value field whose value can be changed.
- Since:
- 3.5
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
val
The value of this object.
-
-
Constructor Details
-
MutableDouble
public MutableDouble(double v)
-
-
Method Details
-
intValue
public int intValue() -
longValue
public long longValue() -
floatValue
public float floatValue()- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber
-
setValue
public void setValue(double val)
-