public static enum Geocode.Distance extends Enum<Geocode.Distance>
| Enum Constant and Description |
|---|
KILOMETERS |
MILES |
| Modifier and Type | Field and Description |
|---|---|
String |
identifier |
| Modifier and Type | Method and Description |
|---|---|
static Geocode.Distance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Geocode.Distance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Geocode.Distance MILES
public static final Geocode.Distance KILOMETERS
public static Geocode.Distance[] values()
for (Geocode.Distance c : Geocode.Distance.values()) System.out.println(c);
public static Geocode.Distance 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 null