uchicago.src.sim.util
Class ByteWrapper

java.lang.Object
  extended by uchicago.src.sim.util.DoubleWrapper
      extended by uchicago.src.sim.util.ByteWrapper

public class ByteWrapper
extends DoubleWrapper

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

Version:
$Revision: 1.3 $ $Date: 2004/11/03 19:51:06 $
Author:
Nick Collier

Field Summary
 
Fields inherited from class uchicago.src.sim.util.DoubleWrapper
val
 
Constructor Summary
ByteWrapper(byte val)
          Creates a ByteWrapper that wraps the specified byte.
 
Method Summary
 java.lang.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

ByteWrapper

public ByteWrapper(byte val)
Creates a ByteWrapper that wraps the specified byte.

Parameters:
val - the byte to wrap
Method Detail

getWrappedNumber

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

Overrides:
getWrappedNumber in class DoubleWrapper