public static enum PlacesQuery.Type extends Enum<PlacesQuery.Type>
Enum Constant and Description |
---|
ADDRESS
Address.
|
AIRPORT
Airport.
|
BUS_STOP
Bus stop.
|
CITY
City.
|
COUNTRY
Country.
|
TOWN_HALL
Town hall.
|
TRAIN_STATION
Train station.
|
Modifier and Type | Method and Description |
---|---|
static PlacesQuery.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlacesQuery.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlacesQuery.Type CITY
public static final PlacesQuery.Type COUNTRY
public static final PlacesQuery.Type ADDRESS
public static final PlacesQuery.Type BUS_STOP
public static final PlacesQuery.Type TRAIN_STATION
public static final PlacesQuery.Type TOWN_HALL
public static final PlacesQuery.Type AIRPORT
public static PlacesQuery.Type[] values()
for (PlacesQuery.Type c : PlacesQuery.Type.values()) System.out.println(c);
public static PlacesQuery.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