public final class Country extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAlpha2()
Get the alpha2 of the country
|
String |
getAlpha3()
Get the alpha3 of the country
|
double |
getArea() |
String |
getCapital() |
String |
getContinent() |
Currency |
getCurrency()
Get the currency for this country
|
int |
getFlagResource()
Get the image resouce of the country
|
int |
getId()
Unique id for each Country
|
String |
getName()
Get the name of the country
|
long |
getPopulation() |
int |
hashCode() |
String |
toString() |
public final int getId()
public final String getCapital()
public final String getContinent()
public final double getArea()
public final long getPopulation()
public final String getName()
public final String getAlpha2()
public final String getAlpha3()
public final int getFlagResource()
public final Currency getCurrency()