| Enum Constant and Description |
|---|
AND |
COMBINE |
COMBINE_TYPES |
COMPLETE |
EQUALS |
EQUIVALENT |
IMPORT_ALT |
LIST_APPEND |
NOT_EQUALS |
OR |
PLUS |
PREFER |
TEXT_APPEND |
TIMES |
| Modifier and Type | Method and Description |
|---|---|
static Operator |
fromLabel(int ordinal) |
int |
getLabel() |
int |
getPrecedence() |
boolean |
isBoolOperator() |
static Operator |
parse(java.lang.String input) |
java.lang.String |
toString() |
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 OR
public static final Operator AND
public static final Operator EQUALS
public static final Operator NOT_EQUALS
public static final Operator PLUS
public static final Operator TIMES
public static final Operator TEXT_APPEND
public static final Operator LIST_APPEND
public static final Operator COMBINE
public static final Operator PREFER
public static final Operator COMBINE_TYPES
public static final Operator IMPORT_ALT
public static final Operator EQUIVALENT
public static final Operator COMPLETE
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 final boolean isBoolOperator()
public final int getLabel()
public final int getPrecedence()
public final java.lang.String toString()
toString in class java.lang.Enum<Operator>public static final Operator fromLabel(int ordinal)
public static final Operator parse(java.lang.String input)