uchicago.src.sim.util
Class LongWrapper
java.lang.Object
|
+--uchicago.src.sim.util.DoubleWrapper
|
+--uchicago.src.sim.util.LongWrapper
- public class LongWrapper
- extends DoubleWrapper
Mutable wrapper for a int primitive. Used by
ProbeableNumber as the probed object when probing
spaces that contain primitives.
|
Constructor Summary |
LongWrapper(long val)
Creates a LongWrapper that wraps the specified long. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongWrapper
public LongWrapper(long val)
- Creates a LongWrapper that wraps the specified long.
- Parameters:
val - the long to wrap
getWrappedNumber
public Number getWrappedNumber()
- Gets the wrapped value as a Number.
- Overrides:
getWrappedNumber in class DoubleWrapper
Bug reports and feature requests to RePast