public static enum Order.Side extends Enum<Order.Side>
Enum Constant and Description |
---|
BUY
Ordem de compra.
|
SELL
Ordem de venda.
|
UNDEFINED
Valor especial, retornado quando o valor for desconhecido.
|
Modifier and Type | Method and Description |
---|---|
static Order.Side |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Order.Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Order.Side BUY
public static final Order.Side SELL
public static final Order.Side UNDEFINED
public static Order.Side[] values()
for (Order.Side c : Order.Side.values()) System.out.println(c);
public static Order.Side 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 null