All Packages Class Hierarchy This Package Previous Next Index
Class sics.agentbase.mif.MIFInterval
java.lang.Object
|
+----sics.agentbase.mif.MIFValue
|
+----sics.agentbase.mif.MIFInterval
- public class MIFInterval
- extends MIFValue
MIFInterval only support primitive numeric types as Integer, Float or Date.
It is therefor not possible to nest intervals (the following is for example
forbidden: (interval 3 (interval 4 8)))
Intervals are not permitted as value for 'oneof' types
-
MIFInterval(float, float)
-
-
MIFInterval(int, int)
-
-
MIFInterval(MIFType)
-
-
MIFInterval(MIFType, float, float)
-
-
MIFInterval(MIFType, int, int)
-
-
clone()
-
-
getComplexity()
-
-
getLower()
-
-
getLowerAsFloat()
-
-
getLowerAsInt()
-
-
getType()
-
-
getUpper()
-
-
getUpperAsFloat()
-
-
getUpperAsInt()
-
-
intersect(MIFValue)
-
-
matches(MIFValue)
-
-
parseNode(ASTSNode)
-
-
setLower(float)
-
-
setLower(int)
-
-
setLower(String)
-
-
setUpper(float)
-
-
setUpper(int)
-
-
setUpper(String)
-
-
toString()
-
-
typeCheck(float)
-
-
typeCheck(int)
-
-
typeCheck(MIFType)
-
-
typeCheck(String)
-
MIFInterval
public MIFInterval(MIFType mtype)
MIFInterval
public MIFInterval(int low,
int high)
MIFInterval
public MIFInterval(float low,
float high)
MIFInterval
public MIFInterval(MIFType mtype,
int low,
int high)
MIFInterval
public MIFInterval(MIFType mtype,
float low,
float high)
getComplexity
public int getComplexity()
- Overrides:
- getComplexity in class MIFValue
getType
public int getType()
- Overrides:
- getType in class MIFValue
setUpper
public void setUpper(int v)
setUpper
public void setUpper(float v)
setUpper
public void setUpper(String s)
setLower
public void setLower(int v)
setLower
public void setLower(float v)
setLower
public void setLower(String s)
getUpper
public MIFNumeric getUpper()
getLower
public MIFNumeric getLower()
getUpperAsInt
public int getUpperAsInt()
getUpperAsFloat
public float getUpperAsFloat()
getLowerAsInt
public int getLowerAsInt()
getLowerAsFloat
public float getLowerAsFloat()
typeCheck
public boolean typeCheck(int v)
- Overrides:
- typeCheck in class MIFValue
typeCheck
public boolean typeCheck(float v)
- Overrides:
- typeCheck in class MIFValue
typeCheck
public boolean typeCheck(String s)
- Overrides:
- typeCheck in class MIFValue
typeCheck
public boolean typeCheck(MIFType mtype)
- Overrides:
- typeCheck in class MIFValue
parseNode
public void parseNode(ASTSNode node) throws IOException
- Overrides:
- parseNode in class MIFValue
intersect
public MIFValue intersect(MIFValue v)
- Overrides:
- intersect in class MIFValue
matches
public boolean matches(MIFValue v)
- Overrides:
- matches in class MIFValue
clone
public synchronized Object clone() throws CloneNotSupportedException
- Overrides:
- clone in class MIFValue
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index