parser.flatzinc.ast.expression
Enum Expression.EType

java.lang.Object
  extended by java.lang.Enum<Expression.EType>
      extended by parser.flatzinc.ast.expression.Expression.EType
All Implemented Interfaces:
Serializable, Comparable<Expression.EType>
Enclosing class:
Expression

public static enum Expression.EType
extends Enum<Expression.EType>


Enum Constant Summary
ANN
           
ARR
           
BOO
           
IDA
           
IDE
           
INT
           
SET_B
           
SET_L
           
STR
           
 
Method Summary
static Expression.EType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Expression.EType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANN

public static final Expression.EType ANN

ARR

public static final Expression.EType ARR

BOO

public static final Expression.EType BOO

IDA

public static final Expression.EType IDA

IDE

public static final Expression.EType IDE

INT

public static final Expression.EType INT

SET_B

public static final Expression.EType SET_B

SET_L

public static final Expression.EType SET_L

STR

public static final Expression.EType STR
Method Detail

values

public static Expression.EType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Expression.EType c : Expression.EType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Expression.EType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012. All Rights Reserved.