Package com.iizix.geo
Class RegionLocation.Currency
java.lang.Object
com.iizix.geo.RegionLocation.Currency
- Enclosing class:
- RegionLocation
Currency class holding information about a currency.
- Method SummaryModifier and TypeMethodDescription- booleanChecks if two Language objects are equal.- getCode()Returns the 3-letter language code for the given currency code, never null.- getName()Returns the English name of the given currency, null for none.Returns the native symbol letter of the given currency, null for none.Returns the English plural name of the given currency, null for none.Returns the symbol letter of the given currency, null for none.- int- hashCode()Returns the hash code of the language instance.- toString()String representation of the language as "[code,name,nativeName]" where the null values are omitted.
- Method Details- getCodeReturns the 3-letter language code for the given currency code, never null.- See the list of all 3-letter currency codes. - Returns:
- The currency code, never null.
 
- getNameReturns the English name of the given currency, null for none.- Returns:
- The English currency name.
 
- getPluralNameReturns the English plural name of the given currency, null for none.- Returns:
- The English plural currency name.
 
- getSymbolReturns the symbol letter of the given currency, null for none.- Returns:
- The currency symbol.
 
- getNativeSymbolReturns the native symbol letter of the given currency, null for none.- Returns:
- The native currency symbol.
 
- hashCodepublic int hashCode()Returns the hash code of the language instance.
- equalsChecks if two Language objects are equal.
- toStringString representation of the language as "[code,name,nativeName]" where the null values are omitted.