public static enum MetatraderPosition.PositionType extends Enum<MetatraderPosition.PositionType>
| Enum Constant and Description |
|---|
POSITION_TYPE_BUY |
POSITION_TYPE_SELL |
| Modifier and Type | Method and Description |
|---|---|
static MetatraderPosition.PositionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetatraderPosition.PositionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetatraderPosition.PositionType POSITION_TYPE_BUY
public static final MetatraderPosition.PositionType POSITION_TYPE_SELL
public static MetatraderPosition.PositionType[] values()
for (MetatraderPosition.PositionType c : MetatraderPosition.PositionType.values()) System.out.println(c);
public static MetatraderPosition.PositionType 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 © 2021. All rights reserved.