public static enum DataPoint.TypeEnum extends Enum<DataPoint.TypeEnum>
Modifier and Type | Method and Description |
---|---|
static DataPoint.TypeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static DataPoint.TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataPoint.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataPoint.TypeEnum INT
public static final DataPoint.TypeEnum LONG
public static final DataPoint.TypeEnum DOUBLE
public static final DataPoint.TypeEnum BOOLEAN
public static final DataPoint.TypeEnum STRING
public static DataPoint.TypeEnum[] values()
for (DataPoint.TypeEnum c : DataPoint.TypeEnum.values()) System.out.println(c);
public static DataPoint.TypeEnum 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 getValue()
public String toString()
toString
in class Enum<DataPoint.TypeEnum>
public static DataPoint.TypeEnum fromValue(String text)