Enum Class Country
- All Implemented Interfaces:
Serializable
,Comparable<Country>
,Constable
This
enum
type is generated from XML,
UID 29,
marshal size 16;
Country has 279 enumerations total.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAaland Islands (ALA)Cyprus (CYP)Czechoslovakia (CSK), Now dissolved; succeeded by the Czech Republic and SlovakiaDenmark (DNK)Afghanistan (AFG)Albania (ALB)Algeria (DZA)American Samoa (ASM)Andorra (AND)Angola (AGO)Anguilla (AIA)Antarctica (ATA)Antigua and Barbuda (ATG)Argentina (ARG)Armenia (ARM)Aruba (ABW)Ashmore and Cartier Islands (Australia), Use AustraliaAustralia (AUS)Austria (AUT)Azerbaijan (AZE)Bahamas (BHS)Bahrain (BHR)Baker Island (United States), Use United States Minor Outlying IslandsBangladesh (BGD)Barbados (BRB)Bassas da India (France), Use French Southern TerritoriesBelarus (BLR)Belgium (BEL)Belize (BLZ)Benin (BEN)Bermuda (BMU)Bhutan (BTN)Bolivia (Plurinational State of) (BOL)Bonaire, Sint Eustatius and Saba (BES)Bosnia and Herzegovina (BIH)Botswana (BWA)Brazil (BRA)Brunei Darussalam (BRN)Bulgaria (BGR)Burkina Faso (BFA)Burundi (BDI)Cabo Verde (CPV)Cambodia (KHM)Cameroon (CMR)Canada (CAN)Cayman Islands (CYM)Central African Republic (CAF)Chad (TCD)Chile (CHL)China, People's Republic of (CHN)Clipperton Island (France), Use French Southern TerritoriesCocos (Keeling) Islands (CCK)Colombia (COL)Egypt (EGY)Congo (Democratic Republic of the) (COD), Not to be confused with the neighbouring Republic of the CongoCote d'Ivoire (CIV)Cook Islands (COK)Croatia (HRV)Curacao (CUW)Czech Republic (CZE)Djibouti (DJI)Dominican Republic (DOM)Eritrea (ERI)Estonia (EST)Eswatini (SWZ)Europa Island (France), Use French Southern TerritoriesEcuador (ECU)Falkland Islands (Malvinas) (FLK)Faroe Islands (FRO)Fiji (FJI)Finland (FIN)France (FRA)French Guiana (GUF)French Polynesia (PYF)French Southern Territories (ATF)Gabon (GAB)Gambia, The (GMB)Gaza Strip (Israel), Use Israel insteadGeorgia (GEO)Germany (DEU)Ghana (GHA)Gibraltar (GIB)Glorioso Islands (France), Use French Southern TerritoriesGreece (GRC)Greenland (GRL)Grenada (GRD)Guadeloupe (GLP)Guam (GUM)Guatemala (GTM)Guernsey (GGY)Guinea-Bissau (GNB)Guinea (GIN)Guyana (GUY)Haiti (HTI)Heard Island and McDonald Islands (HMD)Holy See (VAT)Honduras (HND)Hong Kong (HKG)Howland Island (United States), Use United States Minor Outlying IslandsHungary (HUN)Iceland (ISL)Bouvet Island (BVT)India (IND)Indonesia (IDN)Iran (Islamic Republic of) (IRN)Iraq (IRQ)Ireland (IRL)Isle of Man (IMN)Israel (ISR)Italy (ITA)Jamaica (JAM)Jan Mayen (Norway), Use Svalbard and Jan MayenJapan (JPN)Jarvis Island (United States), Use United States Minor Outlying IslandsJersey (JEY)Johnston Atoll (United States), Island no longer occupied, removed from ISO 3166 country listJordan (JOR)Juan de Nova Island, Use French Southern TerritoriesKazakhstan (KAZ)Kenya (KEN)Kingman Reef (United States), Use United States Minor Outlying IslandsKiribati (KIR)Korea (Democratic People's Republic of) (PRK)Korea (Republic of) (KOR)Kuwait (KWT)Kyrgyzstan (KGZ)Lao People's Democratic Republic (LAO)Latvia (LVA)Lebanon (LBN)Lesotho (LSO)Liberia (LBR)Libya (LBY)Liechtenstein (LIE)Lithuania (LTU)Congo (COG), Not to be confused with the neighbouring Democratic Republic of the CongoComoros (COM)Luxembourg (LUX)Macao (MAC)Madagascar (MDG)Malawi (MWI)Malaysia (MYS)Maldives (MDV)Mali (MLI)Malta (MLT)Marshall Islands (MHL)Martinique (MTQ)Mauritania (MRT)Mauritius (MUS)Mayotte (MYT)Mexico (MEX)Micronesia (Federated States of) (FSM)Midway Islands (United States), Use United States Minor Outlying IslandsMoldova (Republic of) (MDA)Monaco (MCO)Mongolia (MNG)Montenegro (MNE)Montserrat (MSR)Morocco (MAR)Mozambique (MOZ)Myanmar (MMR)Namibia (NAM)Nauru (NRU)Navassa Island (United States), Use United States Minor Outlying IslandsNepal (NPL)Netherlands Antilles (Curacao, Bonaire, Saba, Sint Maarten Sint Eustatius), Use NetherlandsNetherlands (NLD)New Caledonia (NCL)New Zealand (NZL)Nicaragua (NIC)Niger (NER)Nigeria (NGA)Niue (NIU)Norfolk Island (NFK)North Macedonia (MKD)Northern Mariana Islands (MNP)Norway (NOR)Oman (OMN)OtherPakistan (PAK)Palau (PLW)Palestine, State of (PSE)Palmyra Atoll (United States), Use United States Minor Outlying IslandsPanama (PAN)Papua New Guinea (PNG)Paracel Islands (International - Occupied by China, also claimed by Taiwan and Vietnam)Paraguay (PRY)Peru (PER)Philippines (PHL)Pitcairn (PCN)Poland (POL)Portugal (PRT)Puerto Rico (PRI)Qatar (QAT)Ethiopia (ETH)El Salvador (SLV)Coral Sea Islands (Australia), Use AustraliaReunion (REU)Romania (ROU)Russia, Replaced by country code 222Russia (RUS), Includes CIS and USSR era typesRwanda (RWA)Saint Barthelemy (BLM)Saint Helena, Ascension and Tristan da Cunha (SHN)Saint Kitts and Nevis (KNA)Saint Lucia (LCA)Saint Martin (French Part) (MAF)Saint Pierre and Miquelon (SPM)Saint Vincent and the Grenadines (VCT)Samoa (WSM)San Marino (SMR)Sao Tome and Principe (STP)Saudi Arabia (SAU)Senegal (SEN)Serbia and MontenegroSerbia and Montenegro (Montenegro to separate)Serbia (SRB)Dominica (DMA)Equatorial Guinea (GNQ)Seychelles (SYC)Sierra Leone (SLE)Singapore (SGP)Sint Maarten (Dutch part) (SXM)Slovakia (SVK)Slovenia (SVN)Solomon Islands (SLB)Somalia (SOM)South Africa (ZAF)South Georgia and the South Sandwich Islands (SGS)South Sudan (SSD)Spain (ESP)Spratly Islands (International - parts occupied and claimed by China,Malaysia, Philippines, Taiwan, Vietnam)Sri Lanka (LKA)Costa Rica (CRI)Cuba (CUB)Sudan (SDN)British Indian Ocean Territory (IOT)Suriname (SUR)Svalbard and Jan Mayen (SJM)Svalbard (Norway), Use Svalbard and Jan MayenSweden (SWE)Switzerland (CHE)Syrian Arab Republic (SYR)Taiwan, Province of China (TWN)Tajikistan (TJK)Tanzania, United Republic of (TZA)Thailand (THA)Christmas Island (CXR)Timor-Leste (TLS)Togo (TGO)Tokelau (TKL)Tonga (TON)Trinidad and Tobago (TTO)Tromelin Island (France), Use French Southern TerritoriesTunisia (TUN)Turkiye (Republic of) (TUR), United Nations recognized the usage of Turkiye in May, 2022.Turkmenistan (TKM)Turks and Caicos Islands (TCA)Tuvalu (TUV)Uganda (UGA)Ukraine (UKR)United Arab Emirates (ARE)United Kingdom of Great Britain and Northern Ireland (GBR)United States Minor Outlying Islands (UMI)United States of America (USA)Uruguay (URY)Uzbekistan (UZB)Vanuatu (VUT)Venezuela (Bolivarian Republic of) (VEN)Viet Nam (VNM)Virgin Islands (British) (VGB)Virgin Islands (U.S.)Wake Island (United States), Use United States Minor Outlying IslandsWallis and Futuna (WLF)West Bank (Israel), Use Israel insteadWestern Sahara (ESH)Yemen (YEM)Zaire, Now Democratic Republic of the CongoZambia (ZMB)Zimbabwe (ZWE) -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationstatic Country
getEnumForValue
(int value) Provide enumeration for a given valueint
Returns size of this serialized (marshalled) object in bytesgetName()
Provide nameint
getValue()
Provide enumeration valuevoid
marshal
(DataOutputStream dos) Marshal value to DataOutputStreamvoid
marshal
(ByteBuffer byteBuffer) Marshal value to ByteBuffertoString()
Provide simple identifierstatic Country
Unmarshal value to DataInputStreamstatic Country
unmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferstatic 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
-
OTHER
Other -
AFGHANISTAN_AFG
Afghanistan (AFG) -
ALBANIA_ALB
Albania (ALB) -
ALGERIA_DZA
Algeria (DZA) -
AMERICAN_SAMOA_ASM
American Samoa (ASM) -
ANDORRA_AND
Andorra (AND) -
ANGOLA_AGO
Angola (AGO) -
ANGUILLA_AIA
Anguilla (AIA) -
ANTARCTICA_ATA
Antarctica (ATA) -
ANTIGUA_AND_BARBUDA_ATG
Antigua and Barbuda (ATG) -
ARGENTINA_ARG
Argentina (ARG) -
ARUBA_ABW
Aruba (ABW) -
ASHMORE_AND_CARTIER_ISLANDS_AUSTRALIA
Ashmore and Cartier Islands (Australia), Use Australia -
AUSTRALIA_AUS
Australia (AUS) -
AUSTRIA_AUT
Austria (AUT) -
BAHAMAS_BHS
Bahamas (BHS) -
BAHRAIN_BHR
Bahrain (BHR) -
BAKER_ISLAND_UNITED_STATES
Baker Island (United States), Use United States Minor Outlying Islands -
BANGLADESH_BGD
Bangladesh (BGD) -
BARBADOS_BRB
Barbados (BRB) -
BASSAS_DA_INDIA_FRANCE
Bassas da India (France), Use French Southern Territories -
BELGIUM_BEL
Belgium (BEL) -
BELIZE_BLZ
Belize (BLZ) -
BENIN_BEN
Benin (BEN) -
BERMUDA_BMU
Bermuda (BMU) -
BHUTAN_BTN
Bhutan (BTN) -
BOLIVIA_PLURINATIONAL_STATE_OF_BOL
Bolivia (Plurinational State of) (BOL) -
BOTSWANA_BWA
Botswana (BWA) -
IDENTIFICATION_FRIEND_OR_FOE
Bouvet Island (BVT) -
BRAZIL_BRA
Brazil (BRA) -
SUPPLEMENTAL_EMISSION_ENTITY_STATE
British Indian Ocean Territory (IOT) -
VIRGIN_ISLANDS_BRITISH_VGB
Virgin Islands (British) (VGB) -
BRUNEI_DARUSSALAM_BRN
Brunei Darussalam (BRN) -
BULGARIA_BGR
Bulgaria (BGR) -
BURKINA_FASO_BFA
Burkina Faso (BFA) -
MYANMAR_MMR
Myanmar (MMR) -
BURUNDI_BDI
Burundi (BDI) -
CAMBODIA_KHM
Cambodia (KHM) -
CAMEROON_CMR
Cameroon (CMR) -
CANADA_CAN
Canada (CAN) -
CABO_VERDE_CPV
Cabo Verde (CPV) -
CAYMAN_ISLANDS_CYM
Cayman Islands (CYM) -
CENTRAL_AFRICAN_REPUBLIC_CAF
Central African Republic (CAF) -
CHAD_TCD
Chad (TCD) -
CHILE_CHL
Chile (CHL) -
CHINA_PEOPLES_REPUBLIC_OF_CHN
China, People's Republic of (CHN) -
TIME_SPACE_POSITION_INFORMATION
Christmas Island (CXR) -
COCOS_KEELING_ISLANDS_CCK
Cocos (Keeling) Islands (CCK) -
COLOMBIA_COL
Colombia (COL) -
LIVE_ENTITY_FIRE
Comoros (COM) -
LIVE_ENTITY_DETONATION
Congo (COG), Not to be confused with the neighbouring Democratic Republic of the Congo -
CREATE_ENTITY_RELIABLE
Cook Islands (COK) -
REMOVE_ENTITY_RELIABLE
Coral Sea Islands (Australia), Use Australia -
START_RESUME_RELIABLE
Costa Rica (CRI) -
STOP_FREEZE_RELIABLE
Cuba (CUB) -
ACKNOWLEDGE_RELIABLE
Cyprus (CYP) -
ACTION_REQUEST_RELIABLE
Czechoslovakia (CSK), Now dissolved; succeeded by the Czech Republic and Slovakia -
ACTION_RESPONSE_RELIABLE
Denmark (DNK) -
DATA_QUERY_RELIABLE
Djibouti (DJI) -
SET_DATA_RELIABLE
Dominica (DMA) -
DATA_RELIABLE
Dominican Republic (DOM) -
EVENT_REPORT_RELIABLE
Ecuador (ECU) -
COMMENT_RELIABLE
Egypt (EGY) -
RECORD_RELIABLE
El Salvador (SLV) -
SET_RECORD_RELIABLE
Equatorial Guinea (GNQ) -
RECORD_QUERY_RELIABLE
Ethiopia (ETH) -
EUROPA_ISLAND_FRANCE
Europa Island (France), Use French Southern Territories -
FALKLAND_ISLANDS_MALVINAS_FLK
Falkland Islands (Malvinas) (FLK) -
FAROE_ISLANDS_FRO
Faroe Islands (FRO) -
FIJI_FJI
Fiji (FJI) -
FINLAND_FIN
Finland (FIN) -
FRANCE_FRA
France (FRA) -
FRENCH_GUIANA_GUF
French Guiana (GUF) -
FRENCH_POLYNESIA_PYF
French Polynesia (PYF) -
FRENCH_SOUTHERN_TERRITORIES_ATF
French Southern Territories (ATF) -
GABON_GAB
Gabon (GAB) -
GAMBIA_THE_GMB
Gambia, The (GMB) -
GAZA_STRIP_ISRAEL
Gaza Strip (Israel), Use Israel instead -
GERMANY_DEU
Germany (DEU) -
GHANA_GHA
Ghana (GHA) -
GIBRALTAR_GIB
Gibraltar (GIB) -
GLORIOSO_ISLANDS_FRANCE
Glorioso Islands (France), Use French Southern Territories -
GREECE_GRC
Greece (GRC) -
GREENLAND_GRL
Greenland (GRL) -
GRENADA_GRD
Grenada (GRD) -
GUADELOUPE_GLP
Guadeloupe (GLP) -
GUAM_GUM
Guam (GUM) -
GUATEMALA_GTM
Guatemala (GTM) -
GUERNSEY_GGY
Guernsey (GGY) -
GUINEA_GIN
Guinea (GIN) -
GUINEA_BISSAU_GNB
Guinea-Bissau (GNB) -
GUYANA_GUY
Guyana (GUY) -
HAITI_HTI
Haiti (HTI) -
HEARD_ISLAND_AND_MCDONALD_ISLANDS_HMD
Heard Island and McDonald Islands (HMD) -
HONDURAS_HND
Honduras (HND) -
HONG_KONG_HKG
Hong Kong (HKG) -
HOWLAND_ISLAND_UNITED_STATES
Howland Island (United States), Use United States Minor Outlying Islands -
HUNGARY_HUN
Hungary (HUN) -
ICELAND_ISL
Iceland (ISL) -
INDIA_IND
India (IND) -
INDONESIA_IDN
Indonesia (IDN) -
IRAN_ISLAMIC_REPUBLIC_OF_IRN
Iran (Islamic Republic of) (IRN) -
IRAQ_IRQ
Iraq (IRQ) -
IRELAND_IRL
Ireland (IRL) -
ISRAEL_ISR
Israel (ISR) -
ITALY_ITA
Italy (ITA) -
COTE_DIVOIRE_CIV
Cote d'Ivoire (CIV) -
JAMAICA_JAM
Jamaica (JAM) -
JAN_MAYEN_NORWAY
Jan Mayen (Norway), Use Svalbard and Jan Mayen -
JAPAN_JPN
Japan (JPN) -
JARVIS_ISLAND_UNITED_STATES
Jarvis Island (United States), Use United States Minor Outlying Islands -
JERSEY_JEY
Jersey (JEY) -
JOHNSTON_ATOLL_UNITED_STATES
Johnston Atoll (United States), Island no longer occupied, removed from ISO 3166 country list -
JORDAN_JOR
Jordan (JOR) -
JUAN_DE_NOVA_ISLAND
Juan de Nova Island, Use French Southern Territories -
KENYA_KEN
Kenya (KEN) -
KINGMAN_REEF_UNITED_STATES
Kingman Reef (United States), Use United States Minor Outlying Islands -
KIRIBATI_KIR
Kiribati (KIR) -
KOREA_DEMOCRATIC_PEOPLES_REPUBLIC_OF_PRK
Korea (Democratic People's Republic of) (PRK) -
KOREA_REPUBLIC_OF_KOR
Korea (Republic of) (KOR) -
KUWAIT_KWT
Kuwait (KWT) -
LAO_PEOPLES_DEMOCRATIC_REPUBLIC_LAO
Lao People's Democratic Republic (LAO) -
LEBANON_LBN
Lebanon (LBN) -
LESOTHO_LSO
Lesotho (LSO) -
LIBERIA_LBR
Liberia (LBR) -
LIBYA_LBY
Libya (LBY) -
LIECHTENSTEIN_LIE
Liechtenstein (LIE) -
LUXEMBOURG_LUX
Luxembourg (LUX) -
MADAGASCAR_MDG
Madagascar (MDG) -
MACAO_MAC
Macao (MAC) -
MALAWI_MWI
Malawi (MWI) -
MALAYSIA_MYS
Malaysia (MYS) -
MALDIVES_MDV
Maldives (MDV) -
MALI_MLI
Mali (MLI) -
MALTA_MLT
Malta (MLT) -
ISLE_OF_MAN_IMN
Isle of Man (IMN) -
MARSHALL_ISLANDS_MHL
Marshall Islands (MHL) -
MARTINIQUE_MTQ
Martinique (MTQ) -
MAURITANIA_MRT
Mauritania (MRT) -
MAURITIUS_MUS
Mauritius (MUS) -
MAYOTTE_MYT
Mayotte (MYT) -
MEXICO_MEX
Mexico (MEX) -
MICRONESIA_FEDERATED_STATES_OF_FSM
Micronesia (Federated States of) (FSM) -
MONACO_MCO
Monaco (MCO) -
MONGOLIA_MNG
Mongolia (MNG) -
MONTSERRAT_MSR
Montserrat (MSR) -
MOROCCO_MAR
Morocco (MAR) -
MOZAMBIQUE_MOZ
Mozambique (MOZ) -
NAMIBIA_NAM
Namibia (NAM) -
NAURU_NRU
Nauru (NRU) -
NAVASSA_ISLAND_UNITED_STATES
Navassa Island (United States), Use United States Minor Outlying Islands -
NEPAL_NPL
Nepal (NPL) -
NETHERLANDS_NLD
Netherlands (NLD) -
NETHERLANDS_ANTILLES_CURACAO_BONAIRE_SABA_SINT_MAARTEN_SINT_EUSTATIUS
Netherlands Antilles (Curacao, Bonaire, Saba, Sint Maarten Sint Eustatius), Use Netherlands -
NEW_CALEDONIA_NCL
New Caledonia (NCL) -
NEW_ZEALAND_NZL
New Zealand (NZL) -
NICARAGUA_NIC
Nicaragua (NIC) -
NIGER_NER
Niger (NER) -
NIGERIA_NGA
Nigeria (NGA) -
NIUE_NIU
Niue (NIU) -
NORFOLK_ISLAND_NFK
Norfolk Island (NFK) -
NORTHERN_MARIANA_ISLANDS_MNP
Northern Mariana Islands (MNP) -
NORWAY_NOR
Norway (NOR) -
OMAN_OMN
Oman (OMN) -
PAKISTAN_PAK
Pakistan (PAK) -
PALMYRA_ATOLL_UNITED_STATES
Palmyra Atoll (United States), Use United States Minor Outlying Islands -
PANAMA_PAN
Panama (PAN) -
PAPUA_NEW_GUINEA_PNG
Papua New Guinea (PNG) -
PARACEL_ISLANDS_INTERNATIONAL_OCCUPIED_BY_CHINA_ALSO_CLAIMED_BY_TAIWAN_AND_VIETNAM
public static final Country PARACEL_ISLANDS_INTERNATIONAL_OCCUPIED_BY_CHINA_ALSO_CLAIMED_BY_TAIWAN_AND_VIETNAMParacel Islands (International - Occupied by China, also claimed by Taiwan and Vietnam) -
PARAGUAY_PRY
Paraguay (PRY) -
PERU_PER
Peru (PER) -
PHILIPPINES_PHL
Philippines (PHL) -
PITCAIRN_PCN
Pitcairn (PCN) -
POLAND_POL
Poland (POL) -
PORTUGAL_PRT
Portugal (PRT) -
PUERTO_RICO_PRI
Puerto Rico (PRI) -
QATAR_QAT
Qatar (QAT) -
REUNION_REU
Reunion (REU) -
ROMANIA_ROU
Romania (ROU) -
RWANDA_RWA
Rwanda (RWA) -
SAINT_KITTS_AND_NEVIS_KNA
Saint Kitts and Nevis (KNA) -
SAINT_HELENA_ASCENSION_AND_TRISTAN_DA_CUNHA_SHN
Saint Helena, Ascension and Tristan da Cunha (SHN) -
SAINT_LUCIA_LCA
Saint Lucia (LCA) -
SAINT_PIERRE_AND_MIQUELON_SPM
Saint Pierre and Miquelon (SPM) -
SAINT_VINCENT_AND_THE_GRENADINES_VCT
Saint Vincent and the Grenadines (VCT) -
SAN_MARINO_SMR
San Marino (SMR) -
SAO_TOME_AND_PRINCIPE_STP
Sao Tome and Principe (STP) -
SAUDI_ARABIA_SAU
Saudi Arabia (SAU) -
SENEGAL_SEN
Senegal (SEN) -
SEYCHELLES_SYC
Seychelles (SYC) -
SIERRA_LEONE_SLE
Sierra Leone (SLE) -
SINGAPORE_SGP
Singapore (SGP) -
SOLOMON_ISLANDS_SLB
Solomon Islands (SLB) -
SOMALIA_SOM
Somalia (SOM) -
SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS_SGS
South Georgia and the South Sandwich Islands (SGS) -
SOUTH_AFRICA_ZAF
South Africa (ZAF) -
SPAIN_ESP
Spain (ESP) -
SPRATLY_ISLANDS_INTERNATIONAL_PARTS_OCCUPIED_AND_CLAIMED_BY_CHINA_MALAYSIA_PHILIPPINES_TAIWAN_VIETNAM
public static final Country SPRATLY_ISLANDS_INTERNATIONAL_PARTS_OCCUPIED_AND_CLAIMED_BY_CHINA_MALAYSIA_PHILIPPINES_TAIWAN_VIETNAMSpratly Islands (International - parts occupied and claimed by China,Malaysia, Philippines, Taiwan, Vietnam) -
SRI_LANKA_LKA
Sri Lanka (LKA) -
SUDAN_SDN
Sudan (SDN) -
SURINAME_SUR
Suriname (SUR) -
SVALBARD_NORWAY
Svalbard (Norway), Use Svalbard and Jan Mayen -
ESWATINI_SWZ
Eswatini (SWZ) -
SWEDEN_SWE
Sweden (SWE) -
SWITZERLAND_CHE
Switzerland (CHE) -
SYRIAN_ARAB_REPUBLIC_SYR
Syrian Arab Republic (SYR) -
TAIWAN_PROVINCE_OF_CHINA_TWN
Taiwan, Province of China (TWN) -
TANZANIA_UNITED_REPUBLIC_OF_TZA
Tanzania, United Republic of (TZA) -
THAILAND_THA
Thailand (THA) -
TOGO_TGO
Togo (TGO) -
TOKELAU_TKL
Tokelau (TKL) -
TONGA_TON
Tonga (TON) -
TRINIDAD_AND_TOBAGO_TTO
Trinidad and Tobago (TTO) -
TROMELIN_ISLAND_FRANCE
Tromelin Island (France), Use French Southern Territories -
PALAU_PLW
Palau (PLW) -
TUNISIA_TUN
Tunisia (TUN) -
TURKIYE_REPUBLIC_OF_TUR
Turkiye (Republic of) (TUR), United Nations recognized the usage of Turkiye in May, 2022. -
TURKS_AND_CAICOS_ISLANDS_TCA
Turks and Caicos Islands (TCA) -
TUVALU_TUV
Tuvalu (TUV) -
UGANDA_UGA
Uganda (UGA) -
RUSSIA_RUS
Russia (RUS), Includes CIS and USSR era types -
UNITED_ARAB_EMIRATES_ARE
United Arab Emirates (ARE) -
UNITED_KINGDOM_OF_GREAT_BRITAIN_AND_NORTHERN_IRELAND_GBR
United Kingdom of Great Britain and Northern Ireland (GBR) -
UNITED_STATES_OF_AMERICA_USA
United States of America (USA) -
URUGUAY_URY
Uruguay (URY) -
VANUATU_VUT
Vanuatu (VUT) -
HOLY_SEE_VAT
Holy See (VAT) -
VENEZUELA_BOLIVARIAN_REPUBLIC_OF_VEN
Venezuela (Bolivarian Republic of) (VEN) -
VIET_NAM_VNM
Viet Nam (VNM) -
VIRGIN_ISLANDS_US_VIR
Virgin Islands (U.S.) (VIR) -
WAKE_ISLAND_UNITED_STATES
Wake Island (United States), Use United States Minor Outlying Islands -
WALLIS_AND_FUTUNA_WLF
Wallis and Futuna (WLF) -
WESTERN_SAHARA_ESH
Western Sahara (ESH) -
WEST_BANK_ISRAEL
West Bank (Israel), Use Israel instead -
SAMOA_WSM
Samoa (WSM) -
YEMEN_YEM
Yemen (YEM) -
SERBIA_AND_MONTENEGRO
Serbia and Montenegro -
ZAIRE
Zaire, Now Democratic Republic of the Congo -
ZAMBIA_ZMB
Zambia (ZMB) -
ZIMBABWE_ZWE
Zimbabwe (ZWE) -
ARMENIA_ARM
Armenia (ARM) -
AZERBAIJAN_AZE
Azerbaijan (AZE) -
BELARUS_BLR
Belarus (BLR) -
BOSNIA_AND_HERZEGOVINA_BIH
Bosnia and Herzegovina (BIH) -
CLIPPERTON_ISLAND_FRANCE
Clipperton Island (France), Use French Southern Territories -
CROATIA_HRV
Croatia (HRV) -
ESTONIA_EST
Estonia (EST) -
GEORGIA_GEO
Georgia (GEO) -
KAZAKHSTAN_KAZ
Kazakhstan (KAZ) -
KYRGYZSTAN_KGZ
Kyrgyzstan (KGZ) -
LATVIA_LVA
Latvia (LVA) -
LITHUANIA_LTU
Lithuania (LTU) -
NORTH_MACEDONIA_MKD
North Macedonia (MKD) -
MIDWAY_ISLANDS_UNITED_STATES
Midway Islands (United States), Use United States Minor Outlying Islands -
MOLDOVA_REPUBLIC_OF_MDA
Moldova (Republic of) (MDA) -
MONTENEGRO_MNE
Montenegro (MNE) -
RUSSIA
Russia, Replaced by country code 222 -
SERBIA_AND_MONTENEGRO_MONTENEGRO_TO_SEPARATE
Serbia and Montenegro (Montenegro to separate) -
SLOVENIA_SVN
Slovenia (SVN) -
TAJIKISTAN_TJK
Tajikistan (TJK) -
TURKMENISTAN_TKM
Turkmenistan (TKM) -
UKRAINE_UKR
Ukraine (UKR) -
UZBEKISTAN_UZB
Uzbekistan (UZB) -
CZECH_REPUBLIC_CZE
Czech Republic (CZE) -
SLOVAKIA_SVK
Slovakia (SVK) -
AALAND_ISLANDS_ALA
Aaland Islands (ALA) -
BONAIRE_SINT_EUSTATIUS_AND_SABA_BES
Bonaire, Sint Eustatius and Saba (BES) -
CONGO_DEMOCRATIC_REPUBLIC_OF_THE_COD
Congo (Democratic Republic of the) (COD), Not to be confused with the neighbouring Republic of the Congo -
CURACAO_CUW
Curacao (CUW) -
ERITREA_ERI
Eritrea (ERI) -
SAINT_BARTHELEMY_BLM
Saint Barthelemy (BLM) -
SAINT_MARTIN_FRENCH_PART_MAF
Saint Martin (French Part) (MAF) -
SERBIA_SRB
Serbia (SRB) -
SINT_MAARTEN_DUTCH_PART_SXM
Sint Maarten (Dutch part) (SXM) -
SOUTH_SUDAN_SSD
South Sudan (SSD) -
SVALBARD_AND_JAN_MAYEN_SJM
Svalbard and Jan Mayen (SJM) -
TIMOR_LESTE_TLS
Timor-Leste (TLS) -
UNITED_STATES_MINOR_OUTLYING_ISLANDS_UMI
United States Minor Outlying Islands (UMI) -
PALESTINE_STATE_OF_PSE
Palestine, State of (PSE)
-
-
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
-
getValue
public int getValue()Provide enumeration value- Returns:
- integer value
-
getDescription
-
getEnumBitWidth
public static int getEnumBitWidth()bit width for this enumeration- Returns:
- number of bits wide
-
getEnumForValue
Provide enumeration for a given value- Parameters:
value
- integer value of interest- Returns:
- enumeration corresponding to numeric value
-
marshal
Marshal value to DataOutputStream- Parameters:
dos
- DataOutputStream for output- Throws:
IOException
- input-output error- See Also:
-
marshal
Marshal value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for output- Throws:
IOException
- input-output errorException
- See Also:
-
unmarshalEnum
Unmarshal value to DataInputStream- Parameters:
dis
- DataInputStream for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
unmarshalEnum
Unmarshal enumeration value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
getMarshalledSize
public int getMarshalledSize()Returns size of this serialized (marshalled) object in bytes- Returns:
- serialized size in bytes
- See Also:
-
getName
-
toString
-