parser.flatzinc.ast.expression
Class EArray
java.lang.Object
parser.flatzinc.ast.expression.Expression
parser.flatzinc.ast.expression.EArray
public final class EArray
- extends Expression
what
public final List<Expression> what
EArray
public EArray(List<Expression> what)
getWhat_i
public Expression getWhat_i(int i)
toString
public String toString()
- Overrides:
toString
in class Object
intValue
public int intValue()
- Description copied from class:
Expression
- Get the int value of the
Expression
- Specified by:
intValue
in class Expression
- Returns:
- int
toIntArray
public int[] toIntArray()
- Description copied from class:
Expression
- Get array of int of the
Expression
- Specified by:
toIntArray
in class Expression
- Returns:
- int[]
intVarValue
public IntegerVariable intVarValue()
- Description copied from class:
Expression
- Get the
IntegerVariable
of the Expression
- Specified by:
intVarValue
in class Expression
- Returns:
IntegerVariable
or IntegerConstantVariable
toIntVarArray
public IntegerVariable[] toIntVarArray()
- Description copied from class:
Expression
- Get an array of
IntegerVariable
of the Expression
- Specified by:
toIntVarArray
in class Expression
- Returns:
- {
IntegerVariable
,IntegerConstantVariable
}[]
setVarValue
public SetVariable setVarValue()
- Description copied from class:
Expression
- Get the
SetVariable
of the Expression
- Specified by:
setVarValue
in class Expression
- Returns:
SetVariable
or SetConstantVariable
toSetVarArray
public SetVariable[] toSetVarArray()
- Description copied from class:
Expression
- Get an array of
SetVariable
of the Expression
- Specified by:
toSetVarArray
in class Expression
- Returns:
- {
SetVariable
,SetConstantVariable
}[]
Copyright © 2012. All Rights Reserved.