RePast
v. 2.0

uchicago.src.sim.util
Class FloatWrapper

java.lang.Object
  |
  +--uchicago.src.sim.util.DoubleWrapper
        |
        +--uchicago.src.sim.util.FloatWrapper

public class FloatWrapper
extends DoubleWrapper

Mutable wrapper for a float primitive. Used by ProbeableNumber as the probed object when probing spaces that contain primitives.


Field Summary
 
Fields inherited from class uchicago.src.sim.util.DoubleWrapper
val
 
Constructor Summary
FloatWrapper(float val)
          Creates a FloatWrapper that wraps the specified float.
 
Method Summary
 Number getWrappedNumber()
          Gets the wrapped value as a Number.
 
Methods inherited from class uchicago.src.sim.util.DoubleWrapper
doubleVal, setVal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatWrapper

public FloatWrapper(float val)
Creates a FloatWrapper that wraps the specified float.

Method Detail

getWrappedNumber

public Number getWrappedNumber()
Gets the wrapped value as a Number.

Overrides:
getWrappedNumber in class DoubleWrapper

RePast
v. 2.0

Bug reports and feature requests to RePast