public enum OperatorType extends java.lang.Enum<OperatorType>
Enum Constant and Description |
---|
AND |
ANON_CALL |
DIVIDE |
ELVIS_METHOD_CALL |
EQUALS |
IS |
ISNT |
LESS |
LESSOREQUALS |
METHOD_CALL |
MINUS |
MODULO |
MORE |
MOREOREQUALS |
NOT |
NOTEQUALS |
OFTYPE |
OR |
ORIFNULL |
PLUS |
TIMES |
Modifier and Type | Method and Description |
---|---|
static OperatorType |
of(java.lang.Object value) |
java.lang.String |
toString() |
static OperatorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorType PLUS
public static final OperatorType MINUS
public static final OperatorType TIMES
public static final OperatorType DIVIDE
public static final OperatorType MODULO
public static final OperatorType EQUALS
public static final OperatorType NOTEQUALS
public static final OperatorType LESS
public static final OperatorType LESSOREQUALS
public static final OperatorType MORE
public static final OperatorType MOREOREQUALS
public static final OperatorType AND
public static final OperatorType OR
public static final OperatorType NOT
public static final OperatorType IS
public static final OperatorType ISNT
public static final OperatorType OFTYPE
public static final OperatorType ORIFNULL
public static final OperatorType ANON_CALL
public static final OperatorType METHOD_CALL
public static final OperatorType ELVIS_METHOD_CALL
public static OperatorType[] values()
for (OperatorType c : OperatorType.values()) System.out.println(c);
public static OperatorType 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 java.lang.String toString()
toString
in class java.lang.Enum<OperatorType>
public static OperatorType of(java.lang.Object value)