Enum Constant and Description |
---|
ADA |
AE |
AUD |
BAT |
BCD |
BCH |
BCN |
BNB |
BRL |
BTC |
BTG |
BTM |
BTS |
CAD |
CHF |
CNY |
CZK |
DASH |
DCR |
DGB |
DKK |
DOGE |
EOS |
ETC |
ETH |
EUR |
GBP |
GNT |
HKD |
HUF |
ICX |
ILS |
INR |
IOTA |
JPY |
KCS |
KRW |
LSK |
LTC |
MKR |
MXN |
MYR |
NANO |
NEO |
NOK |
NPXS |
NZD |
OMG |
ONT |
PLN |
QTUM |
REP |
RUB |
SC |
SEK |
SGD |
STEEM |
STRAT |
THB |
TRX |
TRY |
TWD |
USD |
USDC |
USDT |
VEN |
WAN |
WAVES |
WTC |
XEM |
XLM |
XMR |
XRP |
XTZ |
XVG |
ZAR |
ZEC |
ZIL |
ZRX |
Modifier and Type | Method and Description |
---|---|
static Currency |
fromValue(java.lang.String value)
Returns an element of the enumeration by its value.
|
java.lang.String |
getValue()
Gets the underlying value of this type safe enumeration.
|
boolean |
isCrypto() |
boolean |
isFiat() |
static Currency |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Currency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Currency AUD
public static final Currency BRL
public static final Currency CAD
public static final Currency CHF
public static final Currency CNY
public static final Currency CZK
public static final Currency DKK
public static final Currency EUR
public static final Currency GBP
public static final Currency HKD
public static final Currency HUF
public static final Currency ILS
public static final Currency INR
public static final Currency JPY
public static final Currency KRW
public static final Currency MXN
public static final Currency MYR
public static final Currency NOK
public static final Currency NZD
public static final Currency PLN
public static final Currency RUB
public static final Currency SEK
public static final Currency SGD
public static final Currency THB
public static final Currency TRY
public static final Currency TWD
public static final Currency USD
public static final Currency ZAR
public static final Currency BTC
public static final Currency ETH
public static final Currency XRP
public static final Currency BCH
public static final Currency EOS
public static final Currency XLM
public static final Currency LTC
public static final Currency ADA
public static final Currency IOTA
public static final Currency USDT
public static final Currency TRX
public static final Currency NEO
public static final Currency XMR
public static final Currency DASH
public static final Currency ETC
public static final Currency XEM
public static final Currency BNB
public static final Currency XTZ
public static final Currency OMG
public static final Currency VEN
public static final Currency ZEC
public static final Currency QTUM
public static final Currency ZRX
public static final Currency ICX
public static final Currency ZIL
public static final Currency BCN
public static final Currency LSK
public static final Currency DCR
public static final Currency BTS
public static final Currency ONT
public static final Currency BTG
public static final Currency AE
public static final Currency DGB
public static final Currency MKR
public static final Currency STEEM
public static final Currency SC
public static final Currency XVG
public static final Currency NANO
public static final Currency DOGE
public static final Currency BAT
public static final Currency BTM
public static final Currency REP
public static final Currency BCD
public static final Currency GNT
public static final Currency NPXS
public static final Currency WAVES
public static final Currency STRAT
public static final Currency WTC
public static final Currency KCS
public static final Currency WAN
public static final Currency USDC
public static Currency[] values()
for (Currency c : Currency.values()) System.out.println(c);
public static Currency 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 nullpublic java.lang.String getValue()
public boolean isFiat()
public boolean isCrypto()
public static Currency fromValue(java.lang.String value)
value
- the value.