public static enum Property.Type extends Enum<Property.Type>
Modifier and Type | Method and Description |
---|---|
char |
getID() |
static Property.Type |
tryParse(char id) |
static Property.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Property.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Property.Type STRING
public static final Property.Type INTEGER
public static final Property.Type BOOLEAN
public static final Property.Type DOUBLE
public static Property.Type[] values()
for (Property.Type c : Property.Type.values()) System.out.println(c);
public static Property.Type 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 nullpublic static Property.Type tryParse(char id)
public char getID()