public enum OperatorPrecedence extends java.lang.Enum<OperatorPrecedence>
| Enum Constant and Description |
|---|
ADDITIVE |
ASSIGNMENT |
BITWISE_AND |
BITWISE_EXCLUSIVE_OR |
BITWISE_INCLUSIVE_OR |
CAST |
EQUALITY |
LOGIC_AND |
LOGIC_OR |
MEMBER_ACCESS |
MULTIPLICATIVE |
POSTFIX_INC_DEC |
RELATIONAL |
SHIFT |
TERNARY |
UNARY |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLowerThan(OperatorPrecedence other) |
static OperatorPrecedence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperatorPrecedence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorPrecedence UNKNOWN
public static final OperatorPrecedence MEMBER_ACCESS
public static final OperatorPrecedence POSTFIX_INC_DEC
public static final OperatorPrecedence UNARY
public static final OperatorPrecedence CAST
public static final OperatorPrecedence MULTIPLICATIVE
public static final OperatorPrecedence ADDITIVE
public static final OperatorPrecedence SHIFT
public static final OperatorPrecedence RELATIONAL
public static final OperatorPrecedence EQUALITY
public static final OperatorPrecedence BITWISE_AND
public static final OperatorPrecedence BITWISE_EXCLUSIVE_OR
public static final OperatorPrecedence BITWISE_INCLUSIVE_OR
public static final OperatorPrecedence LOGIC_AND
public static final OperatorPrecedence LOGIC_OR
public static final OperatorPrecedence TERNARY
public static final OperatorPrecedence ASSIGNMENT
public static OperatorPrecedence[] values()
for (OperatorPrecedence c : OperatorPrecedence.values()) System.out.println(c);
public static OperatorPrecedence 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 boolean isLowerThan(OperatorPrecedence other)