Package com.caplin.motif.fx.trading
Enum MonitorSide
- java.lang.Object
-
- java.lang.Enum<MonitorSide>
-
- com.caplin.motif.fx.trading.MonitorSide
-
- All Implemented Interfaces:
Serializable
,Comparable<MonitorSide>
@Deprecated public enum MonitorSide extends Enum<MonitorSide>
Deprecated.Represents either a BID or ASK side monitored of a trade.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MonitorSide
getValue(String monitorSide)
Deprecated.Returns aMonitorSide
matching the side monitored value ofString
static MonitorSide
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static MonitorSide[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BID
public static final MonitorSide BID
Deprecated.The BUY side monitored of a trade
-
ASK
public static final MonitorSide ASK
Deprecated.The SELL side monitored of a trade
-
-
Method Detail
-
values
public static MonitorSide[] values()
Deprecated.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 (MonitorSide c : MonitorSide.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MonitorSide valueOf(String name)
Deprecated.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
-
getValue
public static MonitorSide getValue(String monitorSide)
Deprecated.Returns aMonitorSide
matching the side monitored value ofString
- Parameters:
monitorSide
- if monitorSide is null,monitorSide
will return null
-
-