public enum VarType extends Enum<VarType>
Enum Constant and Description |
---|
DOUBLE |
DOUBLEPOINTER |
INTEGER |
STRING |
VOID |
Modifier and Type | Method and Description |
---|---|
static VarType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VarType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VarType DOUBLE
public static final VarType STRING
public static final VarType INTEGER
public static final VarType VOID
public static final VarType DOUBLEPOINTER
public static VarType[] values()
for (VarType c : VarType.values()) System.out.println(c);
public static VarType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.