Enum Class Currency
- All Implemented Interfaces:
GenericEnum<Currency>, GenericIsoEnum<Currency>, GenericSymbolizedEnum<Currency>, Serializable, Comparable<Currency>, Constable
public enum Currency
extends Enum<Currency>
implements GenericSymbolizedEnum<Currency>, GenericIsoEnum<Currency>
Enum representing a standard currency.
- Version:
- 2.0.2
- Author:
- Stephen Prizio
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic CurrencygetByIsoCode(String isoCode) Converts a currency iso code to aCurrency.static CurrencyReturns the enum constant of this class with the specified name.static Currency[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface GenericEnum
getCode, getEnum, getLabelMethods inherited from interface GenericIsoEnum
getIsoCodeMethods inherited from interface GenericSymbolizedEnum
getSymbol
-
Enum Constant Details
-
US_DOLLAR
-
EUROPEAN_EURO
-
JAPANESE_YEN
-
UK_STERLING
-
SWISS_FRANC
-
CANADIAN_DOLLAR
-
AUSTRALIAN_DOLLAR
-
NEW_ZEALAND_DOLLAR
-
SOUTH_AFRICAN_RAND
-
ARGENTINE_PESO
-
BRAZILIAN_REAL
-
CHINESE_RENMINBI
-
HONG_KONG_DOLLAR
-
COLOMBIAN_PESO
-
CZECH_KORUNA
-
DANISH_KRONE
-
NORWEGIAN_KRONE
-
RUSSIAN_RUBLE
-
SWEDISH_KRONA
-
NOT_APPLICABLE
-
INDIAN_RUPEE
-
SOUTH_KOREAN_WON
-
SINGAPORE_DOLLAR
-
NEW_TAIWAN_DOLLAR
-
THAI_BAHT
-
MALAYSIAN_RINGGIT
-
INDONESIAN_RUPIAH
-
MEXICAN_PESO
-
POLISH_ZLOTY
-
TURKISH_LIRA
-
ISRAELI_NEW_SHEKEL
-
PAKISTANI_RUPEE
-
VIETNAMESE_DONG
-
SAUDI_RIYAL
-
BANGLADESHI_TAKA
-
SRI_LANKAN_RUPEE
-
PHILIPPINE_PESO
-
ROMANIAN_LEU
-
CHILEAN_PESO
-
PERUVIAN_SOL
-
EGYPTIAN_POUND
-
JORDANIAN_DINAR
-
NIGERIAN_NAIRA
-
KUWAITI_DINAR
-
BULGARIAN_LEV
-
JAMAICAN_DOLLAR
-
OMANI_RIAL
-
UAE_DIRHAM
-
MAURITIAN_RUPEE
-
MOROCCAN_DIRHAM
-
TUNISIAN_DINAR
-
HUNGARIAN_FORINT
-
KENYAN_SHILLING
-
QATARI_RIYAL
-
WEST_AFRICAN_CFA_FRANC
-
ZIMBABWEAN_DOLLAR
-
NAMIBIAN_DOLLAR
-
BAHRAINI_DINAR
-
GHANAIAN_CEDI
-
TRINIDAD_AND_TOBAGO_DOLLAR
-
ICELANDIC_KRONA
-
VENEZUELAN_BOLIVAR
-
TANZANIAN_SHILLING
-
ZAMBIAN_KWACHA
-
KAZAKHSTANI_TENGE
-
BOTSWANA_PULA
-
UGANDAN_SHILLING
-
MALAWIAN_KWACHA
-
UKRAINIAN_HRYVNIA
-
LEBANESE_POUND
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getByIsoCode
-