public enum CurrencyEnum extends Enum<CurrencyEnum>
Enum Constant and Description |
---|
ARS |
BRL |
CLP |
COP |
EUR |
GBP |
MXN |
PEN |
PYN |
USD |
UYU |
VEB |
VEF |
Modifier and Type | Method and Description |
---|---|
static CurrencyEnum |
fromValue(String value) |
static List<CurrencyEnum> |
getAll() |
String |
getValue() |
static CurrencyEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CurrencyEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CurrencyEnum BRL
public static final CurrencyEnum USD
public static final CurrencyEnum MXN
public static final CurrencyEnum COP
public static final CurrencyEnum CLP
public static final CurrencyEnum ARS
public static final CurrencyEnum PEN
public static final CurrencyEnum EUR
public static final CurrencyEnum PYN
public static final CurrencyEnum UYU
public static final CurrencyEnum VEB
public static final CurrencyEnum VEF
public static final CurrencyEnum GBP
public static CurrencyEnum[] values()
for (CurrencyEnum c : CurrencyEnum.values()) System.out.println(c);
public static CurrencyEnum 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 nullpublic String getValue()
public static CurrencyEnum fromValue(String value)
public static List<CurrencyEnum> getAll()
Copyright © 2018. All rights reserved.