public enum TradingStatus extends java.lang.Enum<TradingStatus>
Enum Constant and Description |
---|
NOT_AVAILABLE_FOR_TRADING |
PRE_OPEN |
READY_TO_TRADE |
TRADING_HALT |
Modifier and Type | Method and Description |
---|---|
static TradingStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TradingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TradingStatus TRADING_HALT
public static final TradingStatus READY_TO_TRADE
public static final TradingStatus NOT_AVAILABLE_FOR_TRADING
public static final TradingStatus PRE_OPEN
public static TradingStatus[] values()
for (TradingStatus c : TradingStatus.values()) System.out.println(c);
public static TradingStatus 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