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