|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.util.DoubleWrapper
public class 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. |
java.lang.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 java.lang.Number getWrappedNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||