org.hecl
Class IntegralThing

java.lang.Object
  extended by org.hecl.NumberThing
      extended by org.hecl.IntegralThing
All Implemented Interfaces:
RealThing
Direct Known Subclasses:
IntThing

public abstract class IntegralThing
extends NumberThing

The IntegralThing class represents integer values - in practice, ints and longs.

Version:
1.0
Author:
David N. Welton

Constructor Summary
IntegralThing()
           
 
Method Summary
 boolean isFractional()
           
 boolean isIntegral()
           
 boolean isLong()
           
 
Methods inherited from class org.hecl.NumberThing
asNumber, byteValue, create, deepcopy, doubleValue, floatValue, getStringRep, intValue, isFractional, isIntegral, isNumber, isNumber, longValue, shortValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hecl.RealThing
thingclass
 

Constructor Detail

IntegralThing

public IntegralThing()
Method Detail

isIntegral

public boolean isIntegral()
Specified by:
isIntegral in class NumberThing

isFractional

public boolean isFractional()
Specified by:
isFractional in class NumberThing

isLong

public boolean isLong()