public static enum ExpressionVisitor.MathOperator extends Enum<ExpressionVisitor.MathOperator>
Modifier and Type | Method and Description |
---|---|
static ExpressionVisitor.MathOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpressionVisitor.MathOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpressionVisitor.MathOperator ADD
public static final ExpressionVisitor.MathOperator DIVIDE
public static final ExpressionVisitor.MathOperator MULTIPLY
public static final ExpressionVisitor.MathOperator SUBTRACT
public static final ExpressionVisitor.MathOperator MOD
public static ExpressionVisitor.MathOperator[] values()
for (ExpressionVisitor.MathOperator c : ExpressionVisitor.MathOperator.values()) System.out.println(c);
public static ExpressionVisitor.MathOperator 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 © 2019. All rights reserved.