Class MutableDouble
- java.lang.Object
-
- java.lang.Number
-
- com.singularsys.jep.misc.boundvariable.MutableDouble
-
- All Implemented Interfaces:
java.io.Serializable
public class MutableDouble extends java.lang.Number
A simple Mutable Double class. Countains a single Double value field whose value can be changed.- Since:
- 3.5
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Double
val
The value of this object.
-
Constructor Summary
Constructors Constructor Description MutableDouble(double v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
doubleValue()
float
floatValue()
int
intValue()
long
longValue()
void
setValue(double val)
-
-
-
Method Detail
-
intValue
public int intValue()
- Specified by:
intValue
in classjava.lang.Number
-
longValue
public long longValue()
- Specified by:
longValue
in classjava.lang.Number
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classjava.lang.Number
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classjava.lang.Number
-
setValue
public void setValue(double val)
-
-