public static enum Enums.OrderAction extends java.lang.Enum<Enums.OrderAction>
Modifier and Type | Method and Description |
---|---|
static Enums.OrderAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Enums.OrderAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enums.OrderAction BUY
public static final Enums.OrderAction SELL
public static Enums.OrderAction[] values()
for (Enums.OrderAction c : Enums.OrderAction.values()) System.out.println(c);
public static Enums.OrderAction 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