All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sics.agentbase.mif.MIFNumeric

java.lang.Object
   |
   +----sics.agentbase.mif.MIFValue
           |
           +----sics.agentbase.mif.MIFNumeric

public abstract class MIFNumeric
extends MIFValue
MIFNumeric is built upon that numeric values can be accessed as a float to enable comparison. The float value must be generated in such way that if MIFNumeric A is larger than B, the float value A generates must be larger than the float value B generates. Further should the generated float values from A and B be equal if A and B contains the same numeric value.


Variable Index

 o INF
 o NUMERIC
 o SUP

Constructor Index

 o MIFNumeric()

Method Index

 o equals(Object)
 o floatValue()
 o getComplexity()
 o getNumericType()
 o intValue()
 o parseNode(ASTSNode)
 o stringValue()
 o typeCheck(int)
 o typeCheck(MIFType)
 o typeCheck(String)

Variables

 o NUMERIC
 public static final int NUMERIC
 o SUP
 public static final int SUP
 o INF
 public static final int INF

Constructors

 o MIFNumeric
 public MIFNumeric()

Methods

 o getComplexity
 public int getComplexity()
Overrides:
getComplexity in class MIFValue
 o getNumericType
 public int getNumericType()
 o typeCheck
 public boolean typeCheck(MIFType mtype)
Overrides:
typeCheck in class MIFValue
 o typeCheck
 public boolean typeCheck(int v)
Overrides:
typeCheck in class MIFValue
 o typeCheck
 public boolean typeCheck(String s)
Overrides:
typeCheck in class MIFValue
 o floatValue
 public abstract float floatValue()
 o intValue
 public abstract int intValue()
 o stringValue
 public abstract String stringValue()
Overrides:
stringValue in class MIFValue
 o parseNode
 public void parseNode(ASTSNode node) throws IOException
Overrides:
parseNode in class MIFValue
 o equals
 public boolean equals(Object obj)
Overrides:
equals in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index