public static enum GeocodingResult.Type extends Enum<GeocodingResult.Type>
Enum Constant and Description |
---|
ADDRESS
A street address
|
PLACE
A place name (e.g.
|
Modifier and Type | Method and Description |
---|---|
static GeocodingResult.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeocodingResult.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeocodingResult.Type ADDRESS
public static final GeocodingResult.Type PLACE
public static GeocodingResult.Type[] values()
for (GeocodingResult.Type c : GeocodingResult.Type.values()) System.out.println(c);
public static GeocodingResult.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 null