uchicago.src.sim.util
Class IntWrapper
java.lang.Object
|
+--uchicago.src.sim.util.DoubleWrapper
|
+--uchicago.src.sim.util.IntWrapper
- public class IntWrapper
- extends DoubleWrapper
Mutable wrapper for an int primitive. Used by
ProbeableNumber as the probed object when probing
spaces that contain primitives.
|
Constructor Summary |
IntWrapper(int val)
Creates an IntWrapper that wraps the specified int. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntWrapper
public IntWrapper(int val)
- Creates an IntWrapper that wraps the specified int.
- Parameters:
val - the int 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