Package rs.baselib.type
Enum Class Country
- All Implemented Interfaces:
Serializable
,Comparable<Country>
,Constable
Countries on this planet.
- Author:
- ralph
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the capital of this country.Returns the continent this country is situated in.getIdc()
Returns the international dial code.Returns the ISO 2 country code.Returns the ISO 3 country code.Returns the iso3DigitCode.getTld()
Returns the Top Level Domain.static Country
Returns the enum constant of this class with the specified name.static Country[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AFGHANISTAN
-
ALBANIA
-
ALGERIA
-
AMERICAN_SAMOA
-
ANDORRA
-
ANGOLA
-
ANGUILLA
-
ANTARCTICA
-
ANTIGUA_AND_BARBUDA
-
ARGENTINA
-
ARMENIA
-
ARUBA
-
ASCENSION
-
AUSTRALIA
-
AUSTRIA
-
AZERBAIJAN
-
BAHAMAS
-
BAHRAIN
-
BANGLADESH
-
BARBADOS
-
BELARUS
-
BELGIUM
-
BELIZE
-
BENIN
-
BERMUDA
-
BHUTAN
-
BOLIVIA
-
BOSNIA_AND_HERZEGOVINA
-
BOTSWANA
-
BOUVET_ISLAND
-
BRAZIL
-
BRITISH_INDIAN_OCEAN_TERRITORY
-
BRUNEI_DARUSSALAM
-
BULGARIA
-
BURKINA_FASO
-
BURUNDI
-
CAMBODIA
-
CAMEROON
-
CANADA
-
CANARY_ISLANDS
-
CAPE_VERDE
-
CAYMAN_ISLANDS
-
CENTRAL_AFRICAN_REPUBLIC
-
CHAD
-
CHILE
-
CHINA
-
CHRISTMAS_ISLAND
-
COCOS_KEELING_ISLANDS
-
COLOMBIA
-
COMOROS
-
CONGO
-
CONGO_THE_DEMOCRATIC_REPUBLIC_OF_THE
-
COOK_ISLANDS
-
COSTA_RICA
-
CROATIA
-
CUBA
-
CYPRUS
-
CZECH_REPUBLIC
-
IVORY_COAST
-
DENMARK
-
DIEGO_GARCIA
-
DJIBOUTI
-
DOMINICA
-
DOMINICAN_REPUBLIC
-
ENGLAND
-
ECUADOR
-
EGYPT
-
EL_SALVADOR
-
EQUATORIAL_GUINEA
-
ERITREA
-
ESTONIA
-
ETHIOPIA
-
EUROPEAN_UNION
-
FALKLAND_ISLANDS_MALVINAS
-
FAROE_ISLANDS
-
FIJI
-
FINLAND
-
FRANCE
-
FRENCH_GUIANA
-
FRENCH_POLYNESIA
-
FRENCH_SOUTHERN_TERRITORIES
-
GABON
-
GAMBIA
-
GEORGIA
-
GERMANY
-
GHANA
-
GIBRALTAR
-
GREECE
-
GREENLAND
-
GRENADA
-
GUADELOUPE
-
GUAM
-
GUATEMALA
-
GUERNSEY
-
GUINEA
-
GUINEA_BISSAU
-
GUYANA
-
HAITI
-
HEARD_ISLAND_AND_MCDONALD_ISLANDS
-
HOLY_SEE_VATICAN_CITY_STATE
-
HONDURAS
-
HONG_KONG
-
HUNGARY
-
ICELAND
-
INDIA
-
INDONESIA
-
IRAN_ISLAMIC_REPUBLIC_OF
-
IRAQ
-
IRELAND
-
ISLE_OF_MAN
-
ISRAEL
-
ITALY
-
JAMAICA
-
JAPAN
-
JERSEY
-
JORDAN
-
KAZAKHSTAN
-
KENYA
-
KIRIBATI
-
KOREA_DEMOCRATIC_PEOPLE_S_REPUBLIC_OF
-
KOREA_REPUBLIC_OF
-
KUWAIT
-
KYRGYZSTAN
-
LAO_PEOPLE_S_DEMOCRATIC_REPUBLIC
-
LATVIA
-
LEBANON
-
LESOTHO
-
LIBERIA
-
LIBYAN_ARAB_JAMAHIRIYA
-
LIECHTENSTEIN
-
LITHUANIA
-
LUXEMBOURG
-
MACAO
-
MACEDONIA_THE_FORMER_YUGOSLAV_REPUBLIC_OF
-
MADAGASCAR
-
MALAWI
-
MALAYSIA
-
MALDIVES
-
MALI
-
MALTA
-
MARSHALL_ISLANDS
-
MARTINIQUE
-
MAURITANIA
-
MAURITIUS
-
MAYOTTE
-
MEXICO
-
MICRONESIA_FEDERATED_STATES_OF
-
MOLDOVA
-
MONACO
-
MONGOLIA
-
MONTENEGRO
-
MONTSERRAT
-
MOROCCO
-
MOZAMBIQUE
-
MYANMAR
-
NAMIBIA
-
NAURU
-
NEPAL
-
NETHERLANDS
-
NETHERLANDS_ANTILLES
-
NEW_CALEDONIA
-
NEW_ZEALAND
-
NICARAGUA
-
NIGER
-
NIGERIA
-
NIUE
-
NORFOLK_ISLAND
-
NORTHERN_MARIANA_ISLANDS
-
NORWAY
-
OMAN
-
PAKISTAN
-
PALAU
-
PALESTINIAN_TERRITORY_OCCUPIED
-
PANAMA
-
PAPUA_NEW_GUINEA
-
PARAGUAY
-
PERU
-
PHILIPPINES
-
PITCAIRN
-
POLAND
-
PORTUGAL
-
PUERTO_RICO
-
QATAR
-
ROMANIA
-
RUSSIAN_FEDERATION
-
RWANDA
-
RÉUNION
-
SAINT_HELENA
-
SAINT_KITTS_AND_NEVIS
-
SAINT_LUCIA
-
SAINT_PIERRE_AND_MIQUELON
-
SAINT_VINCENT_AND_THE_GRENADINES
-
SAMOA
-
SAN_MARINO
-
SAO_TOME_AND_PRINCIPE
-
SAUDI_ARABIA
-
SAUDI_IRAQI_NEUTRAL_ZONE
-
SCOTLAND
-
SENEGAL
-
SERBIA
-
SERBIEN_UND_MONTENEGRO
-
SEYCHELLES
-
SIERRA_LEONE
-
SINGAPORE
-
SLOVAKIA
-
SLOVENIA
-
SOLOMON_ISLANDS
-
SOMALIA
-
SOUTH_AFRICA
-
SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS
-
SOVIET_UNION
-
SPAIN
-
SRI_LANKA
-
SUDAN
-
SURINAME
-
SVALBARD_AND_JAN_MAYEN
-
SWAZILAND
-
SWEDEN
-
SWITZERLAND
-
SYRIAN_ARAB_REPUBLIC
-
TAIWAN
-
TAJIKISTAN
-
TANZANIA_UNITED_REPUBLIC_OF
-
THAILAND
-
TIMOR_LESTE
-
TOGO
-
TOKELAU
-
TONGA
-
TRINIDAD_AND_TOBAGO
-
TRISTAN_DA_CUNHA
-
TUNISIA
-
TURKEY
-
TURKMENISTAN
-
TURKS_AND_CAICOS_ISLANDS
-
TUVALU
-
UGANDA
-
UKRAINE
-
UNITED_ARAB_EMIRATES
-
UNITED_KINGDOM
-
UNITED_STATES
-
URUGUAY
-
UZBEKISTAN
-
VANUATU
-
VENEZUELA
-
VIET_NAM
-
VIRGIN_ISLANDS_BRITISH
-
VIRGIN_ISLANDS_US
-
WALES
-
WALLIS_AND_FUTUNA
-
WESTERN_SAHARA
-
YEMEN
-
ZAMBIA
-
ZIMBABWE
-
ÅLAND_ISLANDS
-
-
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
-
getContinent
Returns the continent this country is situated in.- Returns:
- the continent
-
getCapital
Returns the capital of this country.- Returns:
- the capital
-
getIso2Code
Returns the ISO 2 country code.- Returns:
- the iso2Code
-
getIso3Code
Returns the ISO 3 country code.- Returns:
- the iso3Code
-
getIso3DigitCode
Returns the iso3DigitCode.- Returns:
- the iso3DigitCode
-
getIdc
Returns the international dial code.- Returns:
- the idc
-
getTld
Returns the Top Level Domain.- Returns:
- the tld
-