public static enum AstArithm.Op extends Enum<AstArithm.Op>
Modifier and Type | Method and Description |
---|---|
String |
getSyntax() |
static AstArithm.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AstArithm.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AstArithm.Op Add
public static final AstArithm.Op Sub
public static final AstArithm.Op Mul
public static final AstArithm.Op Div
public static AstArithm.Op[] values()
for (AstArithm.Op c : AstArithm.Op.values()) System.out.println(c);
public static AstArithm.Op valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2013. All Rights Reserved.