Package de.mhus.lib.core.currency
Enum CCurrency.FIAT_CURRENCY
- java.lang.Object
-
- java.lang.Enum<CCurrency.FIAT_CURRENCY>
-
- de.mhus.lib.core.currency.CCurrency.FIAT_CURRENCY
-
- All Implemented Interfaces:
Serializable,Comparable<CCurrency.FIAT_CURRENCY>
- Enclosing class:
- CCurrency
public static enum CCurrency.FIAT_CURRENCY extends Enum<CCurrency.FIAT_CURRENCY>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetScheme()StringgetTitle()CCurrencytoCurrency()static CCurrency.FIAT_CURRENCYvalueOf(String name)Returns the enum constant of this type with the specified name.static CCurrency.FIAT_CURRENCY[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final CCurrency.FIAT_CURRENCY UNKNOWN
-
USD
public static final CCurrency.FIAT_CURRENCY USD
-
EUR
public static final CCurrency.FIAT_CURRENCY EUR
-
JPY
public static final CCurrency.FIAT_CURRENCY JPY
-
GBR
public static final CCurrency.FIAT_CURRENCY GBR
-
CHF
public static final CCurrency.FIAT_CURRENCY CHF
-
CAD
public static final CCurrency.FIAT_CURRENCY CAD
-
AUD
public static final CCurrency.FIAT_CURRENCY AUD
-
HKD
public static final CCurrency.FIAT_CURRENCY HKD
-
CNY
public static final CCurrency.FIAT_CURRENCY CNY
-
INR
public static final CCurrency.FIAT_CURRENCY INR
-
RUB
public static final CCurrency.FIAT_CURRENCY RUB
-
-
Method Detail
-
values
public static CCurrency.FIAT_CURRENCY[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CCurrency.FIAT_CURRENCY c : CCurrency.FIAT_CURRENCY.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CCurrency.FIAT_CURRENCY valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
toCurrency
public CCurrency toCurrency()
-
getTitle
public String getTitle()
-
getScheme
public String getScheme()
-
-