public enum MonitorSide extends Enum<MonitorSide>
Enum Constant and Description |
---|
ASK
The SELL side monitored of a trade
|
BID
The BUY side monitored of a trade
|
Modifier and Type | Method and Description |
---|---|
static MonitorSide |
getValue(String monitorSide)
Returns a
MonitorSide matching the side monitored value of String |
static MonitorSide |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonitorSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitorSide BID
public static final MonitorSide ASK
public static MonitorSide[] values()
for (MonitorSide c : MonitorSide.values()) System.out.println(c);
public static MonitorSide valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static MonitorSide getValue(String monitorSide)
MonitorSide
matching the side monitored value of String
monitorSide
- if monitorSide is null, monitorSide
will return nullCopyright © 2015 Caplin Systems.