public enum BinaryOperatorType extends java.lang.Enum<BinaryOperatorType>
| Enum Constant and Description |
|---|
ADD |
ANY |
BITWISE_AND |
BITWISE_OR |
DIVIDE |
EQUALITY |
EXCLUSIVE_OR |
GREATER_THAN |
GREATER_THAN_OR_EQUAL |
INEQUALITY |
LESS_THAN |
LESS_THAN_OR_EQUAL |
LOGICAL_AND |
LOGICAL_OR |
MODULUS |
MULTIPLY |
SHIFT_LEFT |
SHIFT_RIGHT |
SUBTRACT |
UNSIGNED_SHIFT_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCommutative() |
static BinaryOperatorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOperatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryOperatorType ANY
public static final BinaryOperatorType BITWISE_AND
public static final BinaryOperatorType BITWISE_OR
public static final BinaryOperatorType EXCLUSIVE_OR
public static final BinaryOperatorType LOGICAL_AND
public static final BinaryOperatorType LOGICAL_OR
public static final BinaryOperatorType GREATER_THAN
public static final BinaryOperatorType GREATER_THAN_OR_EQUAL
public static final BinaryOperatorType LESS_THAN
public static final BinaryOperatorType LESS_THAN_OR_EQUAL
public static final BinaryOperatorType EQUALITY
public static final BinaryOperatorType INEQUALITY
public static final BinaryOperatorType ADD
public static final BinaryOperatorType SUBTRACT
public static final BinaryOperatorType MULTIPLY
public static final BinaryOperatorType DIVIDE
public static final BinaryOperatorType MODULUS
public static final BinaryOperatorType SHIFT_LEFT
public static final BinaryOperatorType SHIFT_RIGHT
public static final BinaryOperatorType UNSIGNED_SHIFT_RIGHT
public static BinaryOperatorType[] values()
for (BinaryOperatorType c : BinaryOperatorType.values()) System.out.println(c);
public static BinaryOperatorType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic final boolean isCommutative()