public enum RuntimeType extends java.lang.Enum<RuntimeType>
Enum Constant and Description |
---|
ANY |
ARRAY |
BOOLEAN |
EXPRESSION |
NULL |
NUMBER |
OBJECT |
STRING |
Modifier and Type | Method and Description |
---|---|
abstract LiteralExpression |
compare(LiteralExpression left,
LiteralExpression right,
ComparatorType comparator) |
java.lang.String |
toString() |
static RuntimeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeType STRING
public static final RuntimeType NUMBER
public static final RuntimeType BOOLEAN
public static final RuntimeType NULL
public static final RuntimeType ARRAY
public static final RuntimeType OBJECT
public static final RuntimeType EXPRESSION
public static final RuntimeType ANY
public static RuntimeType[] values()
for (RuntimeType c : RuntimeType.values()) System.out.println(c);
public static RuntimeType 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<RuntimeType>
public abstract LiteralExpression compare(LiteralExpression left, LiteralExpression right, ComparatorType comparator)