public static enum Order.OrderType extends Enum<Order.OrderType>
Enum Constant and Description |
---|
ASK
Selling order (you're asking for offers)
|
BID
Buying order (you're making an offer)
|
Modifier and Type | Method and Description |
---|---|
static Order.OrderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Order.OrderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Order.OrderType BID
public static final Order.OrderType ASK
public static Order.OrderType[] values()
for (Order.OrderType c : Order.OrderType.values()) System.out.println(c);
public static Order.OrderType 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 nullCopyright © 2012–2016 Xeiam, LLC. All rights reserved.