enum Precedence extends java.lang.Enum<Precedence>
Enum Constant and Description |
---|
AND |
BETWEEN |
Comparator |
Function |
IN |
NOT |
OR |
Parentheses |
Modifier and Type | Field and Description |
---|---|
private int |
value
The higher this value, the higher the precedence.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
value() |
static Precedence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Precedence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Precedence Comparator
public static final Precedence IN
public static final Precedence BETWEEN
public static final Precedence Function
public static final Precedence Parentheses
public static final Precedence NOT
public static final Precedence AND
public static final Precedence OR
public static Precedence[] values()
for (Precedence c : Precedence.values()) System.out.println(c);
public static Precedence 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 nullint value()