Package com.longport.quote
Enum TradeStatus
- java.lang.Object
-
- java.lang.Enum<TradeStatus>
-
- com.longport.quote.TradeStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<TradeStatus>
public enum TradeStatus extends Enum<TradeStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CodeMoved
Delisted
Expired
Fuse
Halted
Normal
PrepareList
SplitStockHalts
SuspendTrade
ToBeOpened
WarrantPrepareList
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TradeStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static TradeStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Normal
public static final TradeStatus Normal
-
Halted
public static final TradeStatus Halted
-
Delisted
public static final TradeStatus Delisted
-
Fuse
public static final TradeStatus Fuse
-
PrepareList
public static final TradeStatus PrepareList
-
CodeMoved
public static final TradeStatus CodeMoved
-
ToBeOpened
public static final TradeStatus ToBeOpened
-
SplitStockHalts
public static final TradeStatus SplitStockHalts
-
Expired
public static final TradeStatus Expired
-
WarrantPrepareList
public static final TradeStatus WarrantPrepareList
-
SuspendTrade
public static final TradeStatus SuspendTrade
-
-
Method Detail
-
values
public static TradeStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TradeStatus c : TradeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TradeStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-