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