public static enum ConfigField.FieldType extends Enum<ConfigField.FieldType> implements IsSerializable
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
SHORT |
STRING |
| Modifier and Type | Method and Description |
|---|---|
String |
toString(Object value)
Create a string representation of the given value, which should be of the type
reflected in this enum.
|
Object |
toValue(String text)
Convert the given string, which should have been created by
toString(Object),
back into its raw value form. |
static ConfigField.FieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigField.FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigField.FieldType INTEGER
public static final ConfigField.FieldType SHORT
public static final ConfigField.FieldType BYTE
public static final ConfigField.FieldType LONG
public static final ConfigField.FieldType FLOAT
public static final ConfigField.FieldType BOOLEAN
public static final ConfigField.FieldType DOUBLE
public static final ConfigField.FieldType STRING
public static ConfigField.FieldType[] values()
for (ConfigField.FieldType c : ConfigField.FieldType.values()) System.out.println(c);
public static ConfigField.FieldType 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 String toString(Object value)
public Object toValue(String text)
toString(Object),
back into its raw value form.Copyright © 2015. All rights reserved.