parser.flatzinc.ast.expression
Class EString

java.lang.Object
  extended by parser.flatzinc.ast.expression.Expression
      extended by parser.flatzinc.ast.expression.EString

public final class EString
extends Expression


Nested Class Summary
 
Nested classes/interfaces inherited from class parser.flatzinc.ast.expression.Expression
Expression.EType
 
Field Summary
 String st
           
 
Fields inherited from class parser.flatzinc.ast.expression.Expression
bool_arr, int_arr
 
Constructor Summary
EString(String st)
           
 
Method Summary
 int intValue()
          Get the int value of the Expression
 IntegerVariable intVarValue()
          Get the IntegerVariable of the Expression
 SetVariable setVarValue()
          Get the SetVariable of the Expression
 int[] toIntArray()
          Get array of int of the Expression
 IntegerVariable[] toIntVarArray()
          Get an array of IntegerVariable of the Expression
 SetVariable[] toSetVarArray()
          Get an array of SetVariable of the Expression
 
Methods inherited from class parser.flatzinc.ast.expression.Expression
getTypeOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

st

public final String st
Constructor Detail

EString

public EString(String st)
Method Detail

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.