public static enum BtcAutoFormat.Style extends java.lang.Enum<BtcAutoFormat.Style>
Enum Constant and Description |
---|
CODE
Constant for the formatting style that uses a currency code, e.g., "BTC".
|
SYMBOL
Constant for the formatting style that uses a currency symbol, e.g., "฿".
|
Modifier and Type | Method and Description |
---|---|
static BtcAutoFormat.Style |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BtcAutoFormat.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BtcAutoFormat.Style CODE
public static final BtcAutoFormat.Style SYMBOL
public static BtcAutoFormat.Style[] values()
for (BtcAutoFormat.Style c : BtcAutoFormat.Style.values()) System.out.println(c);
public static BtcAutoFormat.Style valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null