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