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