Enum Constant and Description |
---|
ADD |
AND |
DIVIDE |
EQUAL_TO |
GREATER_THAN |
GREATER_THAN_OR_EQUAL_TO |
LESS_THAN |
LESS_THAN_OR_EQUAL_TO |
MODULO |
MULTIPLY |
NEGATE |
NOT |
NOT_EQUAL_TO |
OR |
SUBTRACT |
Modifier and Type | Field and Description |
---|---|
static int |
MAX_PRIORITY |
private int |
priority |
Modifier and Type | Method and Description |
---|---|
int |
getPriority() |
static Operator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operator NEGATE
public static final Operator NOT
public static final Operator MULTIPLY
public static final Operator DIVIDE
public static final Operator MODULO
public static final Operator ADD
public static final Operator SUBTRACT
public static final Operator GREATER_THAN
public static final Operator GREATER_THAN_OR_EQUAL_TO
public static final Operator LESS_THAN
public static final Operator LESS_THAN_OR_EQUAL_TO
public static final Operator EQUAL_TO
public static final Operator NOT_EQUAL_TO
public static final Operator AND
public static final Operator OR
private final int priority
public static final int MAX_PRIORITY
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static Operator 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 int getPriority()