public class TestCountry extends Country
| Modifier and Type | Field and Description |
|---|---|
static TestCountry |
UT |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getName()
Gets the full name of the country.
|
int |
hashCode() |
String |
toAlpha2Code()
Gets the two-digit country code.
|
String |
toAlpha3Code()
Gets the three-digit country code.
|
String |
toString() |
int |
valueOf() |
static TestCountry[] |
values() |
getInstance, getInstancepublic static final TestCountry UT
public static TestCountry[] values()
public String getName()
Countrypublic String toAlpha2Code()
CountrytoAlpha2Code in class Countrypublic String toAlpha3Code()
CountrytoAlpha3Code in class Country