com.jeffpalm.util
Class RestrictedNumber.Float

java.lang.Object
  extended by java.lang.Number
      extended by com.jeffpalm.util.MutableNumber
          extended by com.jeffpalm.util.MutableNumber.Float
              extended by com.jeffpalm.util.RestrictedNumber.Float
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
RestrictedNumber

public static class RestrictedNumber.Float
extends MutableNumber.Float

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jeffpalm.util.MutableNumber
MutableNumber.Byte, MutableNumber.Double, MutableNumber.Float, MutableNumber.Integer, MutableNumber.Long, MutableNumber.Short
 
Method Summary
protected  void check(float val)
           
static RestrictedNumber.Float newInstance(float val, float lo, float hi)
           
static RestrictedNumber.Float newZero(float lo, float hi)
           
 
Methods inherited from class com.jeffpalm.util.MutableNumber.Float
add, add, add, add, add, add, add, dec, div, div, div, div, div, div, div, doubleValue, floatValue, immutableNumber, inc, intValue, longValue, mod, mod, mod, mul, mul, mul, mul, mul, mul, mul, newInstance, newZero, setValue, sub, sub, sub, sub, sub, sub, sub
 
Methods inherited from class com.jeffpalm.util.MutableNumber
toString
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

newInstance

public static RestrictedNumber.Float newInstance(float val,
                                                 float lo,
                                                 float hi)

newZero

public static RestrictedNumber.Float newZero(float lo,
                                             float hi)

check

protected void check(float val)
Overrides:
check in class MutableNumber.Float