|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ListSymbolEnum>
org.otfeed.command.ListSymbolEnum
public enum ListSymbolEnum
Enumerates symbol types.
See also:OTSymbol.
| Enum Constant Summary | |
|---|---|
FUTURE
Future |
|
INDEX
Index |
|
OPTION
Option |
|
SSFUTURE
Single stock future |
|
STOCK
Stock |
|
TOP_TEN
Top ten |
|
| Field Summary | |
|---|---|
static java.util.Set<ListSymbolEnum> |
ALL
Set of all possible symbol types. |
int |
code
|
static int |
CONTAINS_FLAG
|
| Method Summary | |
|---|---|
static java.util.Set<ListSymbolEnum> |
combine(ListSymbolEnum... symbol)
Allows caller to build a set from a list of ListSymbolEnum values. |
static ListSymbolEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ListSymbolEnum[] |
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 ListSymbolEnum STOCK
public static final ListSymbolEnum INDEX
public static final ListSymbolEnum OPTION
public static final ListSymbolEnum FUTURE
public static final ListSymbolEnum SSFUTURE
public static final ListSymbolEnum TOP_TEN
| Field Detail |
|---|
public static final int CONTAINS_FLAG
public final int code
public static final java.util.Set<ListSymbolEnum> ALL
| Method Detail |
|---|
public static final ListSymbolEnum[] values()
for(ListSymbolEnum c : ListSymbolEnum.values())
System.out.println(c);
public static ListSymbolEnum 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 namepublic static final java.util.Set<ListSymbolEnum> combine(ListSymbolEnum... symbol)
Example:
SetindexAndOption = ListSymbolEnum.combine( ListSymbolEnum.INDEX, ListSymbolEnum.OPTION);
symbol - list of symbol types.
java.lang.IllegalArgumentException - if same symbol type appears more
than once in the parameter list.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||