public enum VariableType extends java.lang.Enum<VariableType>
Enum Constant and Description |
---|
ARRAY |
BOOL |
DOUBLE |
INT |
NULL |
OBJECT |
STRING |
Modifier and Type | Method and Description |
---|---|
static VariableType |
fromId(int id) |
static VariableType |
fromString(java.lang.String id) |
int |
getId() |
static VariableType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VariableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableType NULL
public static final VariableType BOOL
public static final VariableType INT
public static final VariableType DOUBLE
public static final VariableType STRING
public static final VariableType OBJECT
public static final VariableType ARRAY
public static VariableType[] values()
for (VariableType c : VariableType.values()) System.out.println(c);
public static VariableType 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 getId()
public static VariableType fromString(java.lang.String id)
public static VariableType fromId(int id)