public final class CountryInfo extends Object implements Comparable<CountryInfo>, Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<CountryInfo> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Modifier | Constructor and Description |
|---|---|
|
CountryInfo(Locale locale,
int countryCode) |
protected |
CountryInfo(Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CountryInfo info) |
int |
describeContents() |
boolean |
equals(Object o) |
int |
getCountryCode() |
Locale |
getLocale() |
int |
hashCode() |
static String |
localeToEmoji(Locale locale) |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<CountryInfo> CREATOR
public CountryInfo(Locale locale, int countryCode)
protected CountryInfo(Parcel in)
public Locale getLocale()
public int getCountryCode()
public int compareTo(CountryInfo info)
compareTo in interface Comparable<CountryInfo>public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelable