public enum GeoFeatureType extends java.lang.Enum<GeoFeatureType>
Enum Constant and Description |
---|
CITY
Population Center
|
CONTINENT
Continent
|
COUNTRY
Nation, country, or other independent political entity
|
LAKE
Lake or other body of water internal to a continent
|
OCEAN
Ocean
|
OTHER
Other geographic feature not included above, or unknown
|
PROVINCE
US State, province, or other entity within a country
|
RIVER
River, stream, or other natural waterway
|
ROAD
Transportation route over land
|
SEA
Sea, part of an ocean
|
Modifier and Type | Method and Description |
---|---|
static GeoFeatureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeoFeatureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoFeatureType OCEAN
public static final GeoFeatureType CONTINENT
public static final GeoFeatureType COUNTRY
public static final GeoFeatureType SEA
public static final GeoFeatureType PROVINCE
public static final GeoFeatureType CITY
public static final GeoFeatureType RIVER
public static final GeoFeatureType LAKE
public static final GeoFeatureType ROAD
public static final GeoFeatureType OTHER
public static GeoFeatureType[] values()
for (GeoFeatureType c : GeoFeatureType.values()) System.out.println(c);
public static GeoFeatureType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null