public static enum OMPreference.Type extends Enum<OMPreference.Type>
Enum Constant and Description |
---|
ARRAY |
BOOLEAN |
BYTES |
DOUBLE |
FLOAT |
INTEGER |
LONG |
STRING |
Modifier and Type | Method and Description |
---|---|
static OMPreference.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OMPreference.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OMPreference.Type BOOLEAN
public static final OMPreference.Type INTEGER
public static final OMPreference.Type LONG
public static final OMPreference.Type FLOAT
public static final OMPreference.Type DOUBLE
public static final OMPreference.Type STRING
public static final OMPreference.Type ARRAY
public static final OMPreference.Type BYTES
public static OMPreference.Type[] values()
for (OMPreference.Type c : OMPreference.Type.values()) System.out.println(c);
public static OMPreference.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 nullCopyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.