public enum CurrencyCode extends Enum<CurrencyCode>
Modifier and Type | Method and Description |
---|---|
static CurrencyCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CurrencyCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CurrencyCode AUD
public static final CurrencyCode CAD
public static final CurrencyCode USD
public static final CurrencyCode SGD
public static final CurrencyCode EUR
public static final CurrencyCode GBP
public static CurrencyCode[] values()
for (CurrencyCode c : CurrencyCode.values()) System.out.println(c);
public static CurrencyCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.