Enum Class CountryCode

java.lang.Object
java.lang.Enum<CountryCode>
com.here.sdk.core.CountryCode
All Implemented Interfaces:
Serializable, Comparable<CountryCode>, Constable

public enum CountryCode extends Enum<CountryCode>

This enum represents country codes in accordance with the ISO 3166-1 standard using alpha-3 codes.

  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Aruba
    Afghanistan
    Angola
    Anguilla
    Albania
    Andorra
    United Arab Emirates
    Argentina
    Armenia
    American Samoa
    Antarctica
    Antigua and Barbuda
    Australia
    Austria
    Azerbaijan
    Burundi
    Belgium
    Benin
    Bonaire, Sint Eustatius and Saba
    Burkina Faso
    Bangladesh
    Bulgaria
    Bahrain
    Bahamas
    Bosnia and Herzegovina
    Saint Barthelemy
    Belarus
    Belize
    Bermuda
    Bolivia (Plurinational State of)
    Brazil
    Barbados
    Brunei Darussalam
    Bhutan
    Botswana
    Central African Republic
    Canada
    Cocos (Keeling) Islands
    Switzerland
    Chile
    China
    Cote d'Ivoire
    Cameroon
    Congo, Democratic Republic of the
    Congo
    Cook Islands
    Colombia
    Comoros
    Cabo Verde
    Costa Rica
    Cuba
    Curacao
    Christmas Island
    Cayman Islands
    Cyprus
    Czechia
    Germany
    Djibouti
    Dominica
    Denmark
    Dominican Republic
    Algeria
    Ecuador
    Egypt
    Eritrea
    Western Sahara
    Spain
    Estonia
    Ethiopia
    Finland
    Fiji
    Falkland Islands (Malvinas)
    France
    Faroe Islands
    Micronesia (Federated States of)
    Gabon
    United Kingdom of Great Britain and Northern Ireland
    Georgia
    Ghana
    Gibraltar
    Guinea
    Guadeloupe
    Gambia
    Guinea-Bissau
    Equatorial Guinea
    Greece
    Grenada
    Greenland
    Guatemala
    French Guiana
    Guam
    Guyana
    Hong Kong
    Honduras
    Croatia
    Haiti
    Hungary
    Indonesia
    Isle of Man
    India
    British Indian Ocean Territory
    Ireland
    Iran (Islamic Republic of)
    Iraq
    Iceland
    Israel
    Italy
    Jamaica
    Jordan
    Japan
    Kazakhstan
    Kenya
    Kyrgyzstan
    Cambodia
    Kiribati
    Saint Kitts and Nevis
    Korea, Republic of
    Kuwait
    Lao People's Democratic Republic
    Lebanon
    Liberia
    Libya
    Saint Lucia
    Liechtenstein
    Sri Lanka
    Lesotho
    Lithuania
    Luxembourg
    Latvia
    Macao
    Saint Martin (French part)
    Morocco
    Monaco
    Moldova, Republic of
    Madagascar
    Maldives
    Mexico
    Marshall Islands
    North Macedonia
    Mali
    Malta
    Myanmar
    Montenegro
    Mongolia
    Northern Mariana Islands
    Mozambique
    Mauritania
    Montserrat
    Martinique
    Mauritius
    Malawi
    Malaysia
    Mayotte
    Namibia
    New Caledonia
    Niger
    Norfolk Island
    Nigeria
    Nicaragua
    Niue
    Netherlands
    Norway
    Nepal
    Nauru
    New Zealand
    Oman
    Pakistan
    Panama
    Pitcairn
    Peru
    Philippines
    Palau
    Papua New Guinea
    Poland
    Puerto Rico
    Korea (Democratic People's Republic of)
    Portugal
    Paraguay
    Palestine, State of
    French Polynesia
    Qatar
    Reunion
    Romania
    Russian Federation
    Rwanda
    Saudi Arabia
    Sudan
    Senegal
    Singapore
    South Georgia and the South Sandwich Islands
    Saint Helena, Ascension and Tristan da Cunha
    Svalbard and Jan Mayen
    Solomon Islands
    Sierra Leone
    El Salvador
    San Marino
    Somalia
    Saint Pierre and Miquelon
    Serbia
    South Sudan
    Sao Tome and Principe
    Suriname
    Slovakia
    Slovenia
    Sweden
    Eswatini
    Sint Maarten (Dutch part)
    Seychelles
    Syrian Arab Republic
    Turks and Caicos Islands
    Chad
    Togo
    Thailand
    Tajikistan
    Tokelau
    Turkmenistan
    Timor-Leste
    Tonga
    Trinidad and Tobago
    Tunisia
    Turkey
    Tuvalu
    Taiwan, Province of China
    Tanzania, United Republic of
    Uganda
    Ukraine
    Uruguay
    United States of America
    Uzbekistan
    Holy See
    Saint Vincent and the Grenadines
    Venezuela (Bolivarian Republic of)
    Virgin Islands (British)
    Virgin Islands (U.S.)
    Viet Nam
    Vanuatu
    Wallis and Futuna
    Samoa
    Yemen
    South Africa
    Zambia
    Zimbabwe
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static CountryCode[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static CountryCode[] 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

      public static CountryCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null