public static enum BtcAutoFormat.Style extends 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(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(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 © 2016. All rights reserved.