parser.flatzinc.ast.expression
Class ESet
java.lang.Object
parser.flatzinc.ast.expression.Expression
parser.flatzinc.ast.expression.ESet
- Direct Known Subclasses:
- ESetBounds, ESetList
public abstract class ESet
- extends Expression
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ESet
protected ESet(Expression.EType typeOf)
enumVal
public abstract int[] enumVal()
intValue
public final int intValue()
- Description copied from class:
Expression
- Get the int value of the
Expression
- Specified by:
intValue
in class Expression
- Returns:
- int
toIntArray
public final int[] toIntArray()
- Description copied from class:
Expression
- Get array of int of the
Expression
- Specified by:
toIntArray
in class Expression
- Returns:
- int[]
intVarValue
public final 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 final 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 final 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 final 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.