public enum GmmAttribute extends Enum<GmmAttribute>
| Enum Constant and Description |
|---|
ID |
MAX_DISTANCE |
VALUES |
WEIGHT |
WEIGHTS |
| Modifier and Type | Method and Description |
|---|---|
static GmmAttribute |
fromString(String s)
Converts supplied
String to the equivalent GmmAttribute. |
String |
toString()
Returns a
CaseFormat#LOWER_CAMEL String representation of
this GmmAttribute. |
static GmmAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GmmAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GmmAttribute ID
public static final GmmAttribute WEIGHT
public static final GmmAttribute VALUES
public static final GmmAttribute WEIGHTS
public static final GmmAttribute MAX_DISTANCE
public static GmmAttribute[] values()
for (GmmAttribute c : GmmAttribute.values()) System.out.println(c);
public static GmmAttribute 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()
CaseFormat#LOWER_CAMEL String representation of
this GmmAttribute.toString in class Enum<GmmAttribute>CaseFormatpublic static GmmAttribute fromString(String s)
String to the equivalent GmmAttribute.
Method expects a String with CaseFormat#LOWER_CAMELs - String to convertGmmAttributeIllegalArgumentException - if supplied String is incorrectly
formatted or no matching GmmAttribute existsCaseFormat