parser.flatzinc.ast.expression
Enum Expression.EType
java.lang.Object
java.lang.Enum<Expression.EType>
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>
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
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.