AreaType (API Reference)
Package com.here.sdk.search
Enum Class AreaType
- All Implemented Interfaces:
Serializable,Comparable<AreaType>,Constable
Represents a type of area like country, state, city, county, etc.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents a city.Represents a country, ie.Represents a county, ie.Represents a district.Represents a postal code area.Represents a state, ie.Represents a subdistrict. -
Method Summary
-
Enum Constant Details
-
COUNTRY
Represents a country, ie. a territory with its own borders and total sovereignty
-
STATE
Represents a state, ie. a part of a large country.
-
COUNTY
Represents a county, ie. an administrative division in a state or country.
-
CITY
Represents a city.
-
POSTAL_CODE
Represents a postal code area.
-
DISTRICT
Represents a district.
-
SUB_DISTRICT
Represents a subdistrict.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-