Enum Constant and Description |
---|
BOOLEAN |
DOUBLE |
INIT |
LONG |
STRING |
VALUE |
Modifier and Type | Method and Description |
---|---|
boolean |
isBoolean() |
boolean |
isDouble() |
boolean |
isLong() |
boolean |
isString() |
static ExprType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExprType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ExprType |
withBoolean() |
ExprType |
withDouble() |
ExprType |
withLong() |
ExprType |
withString() |
ExprType |
withType(ExprType type) |
public static final ExprType INIT
public static final ExprType LONG
public static final ExprType DOUBLE
public static final ExprType BOOLEAN
public static final ExprType STRING
public static final ExprType VALUE
public static ExprType[] values()
for (ExprType c : ExprType.values()) System.out.println(c);
public static ExprType 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 boolean isBoolean()
public boolean isLong()
public boolean isDouble()
public boolean isString()
public ExprType withBoolean()
public ExprType withLong()
public ExprType withDouble()
public ExprType withString()