|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<InstrumentEnum>
org.otfeed.event.InstrumentEnum
public enum InstrumentEnum
Enumerates instrument types.
Enum Constant Summary | |
---|---|
FUTURE
Future |
|
INDEX
Index |
|
OPTION
Option |
|
SSFUTURE
Single Stock Future |
|
STOCK
Stock |
Field Summary | |
---|---|
int |
code
|
static java.util.Map<java.lang.Integer,InstrumentEnum> |
decoder
|
Method Summary | |
---|---|
static InstrumentEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static InstrumentEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final InstrumentEnum STOCK
public static final InstrumentEnum INDEX
public static final InstrumentEnum OPTION
public static final InstrumentEnum FUTURE
public static final InstrumentEnum SSFUTURE
Field Detail |
---|
public final int code
public static final java.util.Map<java.lang.Integer,InstrumentEnum> decoder
Method Detail |
---|
public static final InstrumentEnum[] values()
for(InstrumentEnum c : InstrumentEnum.values()) System.out.println(c);
public static InstrumentEnum 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 name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |