|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.util.DoubleWrapper
Mutable wrapper for a double primitive. Used by ProbeableNumber as the probed object when probing spaces that contain primitives.
| Field Summary | |
protected double |
val
|
| Constructor Summary | |
DoubleWrapper(double val)
Creates a DoubleWrapper that wraps the specified double. |
|
| Method Summary | |
double |
doubleVal()
Gets the double value that this wraps. |
Number |
getWrappedNumber()
Gets the wrapped value as a Number. |
void |
setVal(double val)
Sets the double value that this wraps. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected double val
| Constructor Detail |
public DoubleWrapper(double val)
val - the double to wrap| Method Detail |
public double doubleVal()
public void setVal(double val)
public Number getWrappedNumber()
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||