public static enum Enums.InstrumentType extends java.lang.Enum<Enums.InstrumentType>
Enum Constant and Description |
---|
BOND |
CFD |
COMMODITY |
CURRENCY_OPTION |
FOREX |
FORWARD |
FUTURE |
FUTURE_OPTION |
INDEX |
INDEX_OPTION |
INDICATOR |
MUTUAL_FUND |
OPTION |
SPOT |
STOCK |
SWAP |
UNKNOWN |
WARRANT |
Modifier and Type | Method and Description |
---|---|
static Enums.InstrumentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Enums.InstrumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enums.InstrumentType STOCK
public static final Enums.InstrumentType INDEX
public static final Enums.InstrumentType FOREX
public static final Enums.InstrumentType FUTURE
public static final Enums.InstrumentType CFD
public static final Enums.InstrumentType OPTION
public static final Enums.InstrumentType INDICATOR
public static final Enums.InstrumentType FUTURE_OPTION
public static final Enums.InstrumentType INDEX_OPTION
public static final Enums.InstrumentType CURRENCY_OPTION
public static final Enums.InstrumentType MUTUAL_FUND
public static final Enums.InstrumentType COMMODITY
public static final Enums.InstrumentType BOND
public static final Enums.InstrumentType WARRANT
public static final Enums.InstrumentType SPOT
public static final Enums.InstrumentType FORWARD
public static final Enums.InstrumentType SWAP
public static final Enums.InstrumentType UNKNOWN
public static Enums.InstrumentType[] values()
for (Enums.InstrumentType c : Enums.InstrumentType.values()) System.out.println(c);
public static Enums.InstrumentType 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