Name | |
---|---|
int | getValue() |
String | toString() |
boolean | equals(MamdaOrderImbalanceType imbDataType) |
MamdaOrderImbalanceType | enumObjectForValue(int value) |
String | valueToString(int value) |
int | stringToValue(String type) |
boolean | isMamdaOrderImbalanceType(int value) |
boolean | isMamdaImbalanceOrder(int value) |
Name | |
---|---|
final int | MARKET_IMBALANCE_BUY_VALUE |
final MamdaOrderImbalanceType | MARKET_IMBALANCE_BUY |
final int | MARKET_IMBALANCE_SELL_VALUE |
final MamdaOrderImbalanceType | MARKET_IMBALANCE_SELL |
final int | NO_MARKET_IMBALANCE_VALUE |
final MamdaOrderImbalanceType | NO_MARKET_IMBALANCE |
final int | MOC_IMBALANCE_BUY_VALUE |
final MamdaOrderImbalanceType | MOC_IMBALANCE_BUY |
final int | MOC_IMBALANCE_SELL_VALUE |
final MamdaOrderImbalanceType | MOC_IMBALANCE_SELL |
final int | NO_MOC_IMBALANCE_VALUE |
final MamdaOrderImbalanceType | NO_MOC_IMBALANCE |
final int | ORDER_IMB_VALUE |
final MamdaOrderImbalanceType | ORDER_IMB |
final int | ORDER_INF_VALUE |
final MamdaOrderImbalanceType | ORDER_INF |
final int | ORDER_IMBALANCE_BUY_VALUE |
final MamdaOrderImbalanceType | ORDER_IMBALANCE_BUY |
final int | ORDER_IMBALANCE_SELL_VALUE |
final MamdaOrderImbalanceType | ORDER_IMBALANCE_SELL |
final int | NO_ORDER_IMBALANCE_VALUE |
final MamdaOrderImbalanceType | NO_ORDER_IMBALANCE |
final int | UNKNOWN |
final MamdaOrderImbalanceType | TYPE_UNKNOWN |
inline int getValue()
Return: The integer type.
Returns the integer value for the type. This value can be used in switch statements against the public XXX_VALUE static members of the class.
inline String toString()
Return: Name for the type.
Returns the stringified name for the enumerated type.
inline boolean equals(
MamdaOrderImbalanceType imbDataType
)
Parameters:
Return: Whether the two objects are equal.
Compare the two types for equality. Returns true if the integer value of both types is equal. Otherwise returns false.
static inline MamdaOrderImbalanceType enumObjectForValue(
int value
)
Parameters:
Return: Instance of a MamdaOrderImbalanceType if a mapping exists.
Return an instance of a MamdaOrderImbalanceType corresponding to the specified integer value. Returns null if the integer value is not recognised.
static inline String valueToString(
int value
)
Parameters:
Return: The string name value of the specified MamdaOrderImbalanceType value.
Utility method for mapping type integer values to corresponding string values.
Returns “UNKNOWN” is the int type value is not recognised.
static inline int stringToValue(
String type
)
static inline boolean isMamdaOrderImbalanceType(
int value
)
static inline boolean isMamdaImbalanceOrder(
int value
)
static final int MARKET_IMBALANCE_BUY_VALUE = 16;
MARKET_IMBALANCE_BUY
static final MamdaOrderImbalanceType MARKET_IMBALANCE_BUY =
new MamdaOrderImbalanceType (valueToString (MARKET_IMBALANCE_BUY_VALUE),
MARKET_IMBALANCE_BUY_VALUE);
static final int MARKET_IMBALANCE_SELL_VALUE =17;
MARKET_IMBALANCE_SELL
static final MamdaOrderImbalanceType MARKET_IMBALANCE_SELL =
new MamdaOrderImbalanceType (valueToString (MARKET_IMBALANCE_SELL_VALUE),
MARKET_IMBALANCE_SELL_VALUE);
static final int NO_MARKET_IMBALANCE_VALUE = 18;
NO_MARKET_IMBALANCE
static final MamdaOrderImbalanceType NO_MARKET_IMBALANCE =
new MamdaOrderImbalanceType (valueToString (NO_MARKET_IMBALANCE_VALUE),
NO_MARKET_IMBALANCE_VALUE);
static final int MOC_IMBALANCE_BUY_VALUE = 19;
MOC_IMBALANCE_BUY
static final MamdaOrderImbalanceType MOC_IMBALANCE_BUY =
new MamdaOrderImbalanceType (valueToString (MOC_IMBALANCE_BUY_VALUE),
MOC_IMBALANCE_BUY_VALUE);
static final int MOC_IMBALANCE_SELL_VALUE = 20;
MOC_IMBALANCE_SELL
static final MamdaOrderImbalanceType MOC_IMBALANCE_SELL =
new MamdaOrderImbalanceType (valueToString (MOC_IMBALANCE_SELL_VALUE),
MOC_IMBALANCE_SELL_VALUE);
static final int NO_MOC_IMBALANCE_VALUE = 21;
NO_MOC_IMBALANCE
static final MamdaOrderImbalanceType NO_MOC_IMBALANCE =
new MamdaOrderImbalanceType (valueToString (NO_MOC_IMBALANCE_VALUE),
NO_MOC_IMBALANCE_VALUE);
static final int ORDER_IMB_VALUE = 22;
ORDER_IMB
static final MamdaOrderImbalanceType ORDER_IMB =
new MamdaOrderImbalanceType (valueToString (ORDER_IMB_VALUE),
ORDER_IMB_VALUE);
static final int ORDER_INF_VALUE = 23;
ORDER_INF
static final MamdaOrderImbalanceType ORDER_INF =
new MamdaOrderImbalanceType (valueToString (ORDER_INF_VALUE),
ORDER_INF_VALUE);
static final int ORDER_IMBALANCE_BUY_VALUE = 24;
ORDER_IMBALANCE_BUY_VALUE
static final MamdaOrderImbalanceType ORDER_IMBALANCE_BUY =
new MamdaOrderImbalanceType (valueToString (ORDER_IMBALANCE_BUY_VALUE),
ORDER_IMBALANCE_BUY_VALUE);
static final int ORDER_IMBALANCE_SELL_VALUE = 25;
ORDER_IMBALANCE_SELL_VALUE
static final MamdaOrderImbalanceType ORDER_IMBALANCE_SELL =
new MamdaOrderImbalanceType (valueToString (ORDER_IMBALANCE_SELL_VALUE),
ORDER_IMBALANCE_SELL_VALUE);
static final int NO_ORDER_IMBALANCE_VALUE = 26;
NO_ORDER_IMBALANCE
static final MamdaOrderImbalanceType NO_ORDER_IMBALANCE =
new MamdaOrderImbalanceType(valueToString (NO_ORDER_IMBALANCE_VALUE),
NO_ORDER_IMBALANCE_VALUE);
static final int UNKNOWN = -99;
UKNOWN
static final MamdaOrderImbalanceType TYPE_UNKNOWN =
new MamdaOrderImbalanceType(valueToString (UNKNOWN),
UNKNOWN);
Updated on 2023-03-31 at 15:30:33 +0100