public enum BalanceType extends java.lang.Enum<BalanceType>
Enum Constant and Description |
---|
BONUSES
Бонусный тип
|
TOKENS
Фишки, марки и т.п.
|
Modifier and Type | Method and Description |
---|---|
static BalanceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BalanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BalanceType BONUSES
public static final BalanceType TOKENS
public static BalanceType[] values()
for (BalanceType c : BalanceType.values()) System.out.println(c);
public static BalanceType 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