@AnyThread
public final class Country
extends java.lang.Object
The user should not be able to create a new Country as in real life, coutries_file are not just created.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlpha2()
Get the alpha2 of the country
|
java.lang.String |
getAlpha3()
Get the alpha3 of the country
|
long |
getArea()
Get the surface area of this country (km^2)
|
java.lang.String |
getCapital()
Get capital
|
java.lang.String |
getContinent()
Get continent
|
Currency |
getCurrency()
Get the currency for this country
|
int |
getFlagResource()
Get the image resouce of the country
|
java.lang.String |
getId()
Get the ISO 3166-1 numeric code of the country
|
java.lang.String |
getName()
Get the name of the country
|
long |
getPopulation()
Get population
|
java.lang.String |
toString() |
public final int getFlagResource()
public Currency getCurrency()
public final java.lang.String getCapital()
public final java.lang.String getContinent()
public final long getArea()
public final long getPopulation()
public java.lang.String toString()
public final java.lang.String getName()
public final java.lang.String getAlpha2()
public final java.lang.String getAlpha3()
public final java.lang.String getId()