com.jeffpalm.util
Class RestrictedNumber.Long

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

public static class RestrictedNumber.Long
extends MutableNumber.Long

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(long val)
           
static RestrictedNumber.Long newInstance(long val, long lo, long hi)
           
static RestrictedNumber.Long newZero(long lo, long hi)
           
 
Methods inherited from class com.jeffpalm.util.MutableNumber.Long
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.Long newInstance(long val,
                                                long lo,
                                                long hi)

newZero

public static RestrictedNumber.Long newZero(long lo,
                                            long hi)

check

protected void check(long val)
Overrides:
check in class MutableNumber.Long