com.ifcomputer.minerva
Class MinervaNumber

java.lang.Object
  |
  +--com.ifcomputer.minerva.MinervaTerm
        |
        +--com.ifcomputer.minerva.MinervaNumber
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MinervaDouble, MinervaLong

public abstract class MinervaNumber
extends MinervaTerm
implements java.io.Serializable

The class MinervaNumber is used as base class for numbers.

See Also:
MinervaDouble, MinervaLong, Serialized Form

Field Summary
 
Fields inherited from class com.ifcomputer.minerva.MinervaTerm
ATOM, COMPOUND, DOUBLE, LIST, LONG, OBJECT, VARIABLE
 
Constructor Summary
MinervaNumber()
           
 
Method Summary
abstract  double doubleValue()
          This function returns the value represented by the term as double value
abstract  long longValue()
          This function returns the value represented by the term as long value
 
Methods inherited from class com.ifcomputer.minerva.MinervaTerm
getEnumeration, getListLength, getStringArray, getTermArray, isList, reset, resolve, setValue, typeOf
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinervaNumber

public MinervaNumber()
Method Detail

longValue

public abstract long longValue()
This function returns the value represented by the term as long value


doubleValue

public abstract double doubleValue()
This function returns the value represented by the term as double value