|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectparser.flatzinc.ast.expression.Expression
public abstract class Expression
Nested Class Summary | |
---|---|
static class |
Expression.EType
|
Field Summary | |
---|---|
protected static Class |
bool_arr
|
protected static Class |
int_arr
|
Constructor Summary | |
---|---|
protected |
Expression(Expression.EType typeOf)
|
Method Summary | |
---|---|
Expression.EType |
getTypeOf()
|
abstract int |
intValue()
Get the int value of the Expression |
abstract IntegerVariable |
intVarValue()
Get the IntegerVariable of the Expression |
abstract SetVariable |
setVarValue()
Get the SetVariable of the Expression |
abstract int[] |
toIntArray()
Get array of int of the Expression |
abstract IntegerVariable[] |
toIntVarArray()
Get an array of IntegerVariable of the Expression |
abstract SetVariable[] |
toSetVarArray()
Get an array of SetVariable of the Expression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Class int_arr
protected static final Class bool_arr
Constructor Detail |
---|
protected Expression(Expression.EType typeOf)
Method Detail |
---|
public final Expression.EType getTypeOf()
public abstract int intValue()
Expression
public abstract int[] toIntArray()
Expression
public abstract IntegerVariable intVarValue()
IntegerVariable
of the Expression
IntegerVariable
or IntegerConstantVariable
public abstract IntegerVariable[] toIntVarArray()
IntegerVariable
of the Expression
IntegerVariable
,IntegerConstantVariable
}[]public abstract SetVariable setVarValue()
SetVariable
of the Expression
SetVariable
or SetConstantVariable
public abstract SetVariable[] toSetVarArray()
SetVariable
of the Expression
SetVariable
,SetConstantVariable
}[]
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |