public enum ECurrencyCode extends Enum<ECurrencyCode>
Enum Constant and Description |
---|
BRL |
CHF |
EUR |
GBP |
Invalid |
PLN |
RUB |
USD |
Modifier and Type | Field and Description |
---|---|
private int |
code |
private static HashMap<Integer,ECurrencyCode> |
values |
Modifier and Type | Method and Description |
---|---|
static ECurrencyCode |
f(int code) |
int |
v() |
static ECurrencyCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECurrencyCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECurrencyCode Invalid
public static final ECurrencyCode USD
public static final ECurrencyCode GBP
public static final ECurrencyCode EUR
public static final ECurrencyCode CHF
public static final ECurrencyCode RUB
public static final ECurrencyCode PLN
public static final ECurrencyCode BRL
private int code
private static HashMap<Integer,ECurrencyCode> values
public static ECurrencyCode[] values()
for (ECurrencyCode c : ECurrencyCode.values()) System.out.println(c);
public static ECurrencyCode 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 int v()
public static ECurrencyCode f(int code)
Copyright © 2012. All Rights Reserved.