public enum MarketMode extends java.lang.Enum<MarketMode>
Enum Constant and Description |
---|
END_OF_DAY |
HALTED |
OPEN |
Modifier and Type | Field and Description |
---|---|
short |
code
Code used in recorded files
|
Modifier and Type | Method and Description |
---|---|
static MarketMode |
valueOf(int code) |
static MarketMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MarketMode |
valueOfLoose(java.lang.String name) |
static MarketMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarketMode OPEN
public static final MarketMode HALTED
public static final MarketMode END_OF_DAY
public static MarketMode[] values()
for (MarketMode c : MarketMode.values()) System.out.println(c);
public static MarketMode 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 nullpublic static MarketMode valueOf(int code)
public static MarketMode valueOfLoose(java.lang.String name)