public final class MamdaOrderImbalanceSide
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MamdaOrderImbalanceSide |
ASK_SIDE |
static int |
ASK_SIDE_VALUE
ASK_SIDE_IMBALANCE
|
static MamdaOrderImbalanceSide |
BID_SIDE |
static int |
BID_SIDE_VALUE
BID_SIDE_IMBALANCE
|
static MamdaOrderImbalanceSide |
NO_IMBALANCE_SIDE |
static int |
NO_IMBALANCE_VALUE
NO_IMBALANCE
|
Modifier and Type | Method and Description |
---|---|
static MamdaOrderImbalanceSide |
enumObjectForValue(int value)
Return an instance of a MamdaOrderImbalanceSide corresponding to
the specified integer value.
|
boolean |
equals(MamdaOrderImbalanceSide imbalanceSide)
Compare the two types for equality.
|
int |
getValue()
Returns the integer value for the type.
|
java.lang.String |
toString()
Returns the stringified name for the enumerated type.
|
static java.lang.String |
valueToString(int value)
Utility method for mapping type integer values to corresponding string
values.
|
public static final int BID_SIDE_VALUE
public static final MamdaOrderImbalanceSide BID_SIDE
public static final int ASK_SIDE_VALUE
public static final MamdaOrderImbalanceSide ASK_SIDE
public static final int NO_IMBALANCE_VALUE
public static final MamdaOrderImbalanceSide NO_IMBALANCE_SIDE
public java.lang.String toString()
toString
in class java.lang.Object
public int getValue()
public boolean equals(MamdaOrderImbalanceSide imbalanceSide)
imbalanceSide
- The object to check equality against.public static java.lang.String valueToString(int value)
value
- The int value for a MamdaOrderImbalanceSidepublic static MamdaOrderImbalanceSide enumObjectForValue(int value)
value
- Int value for a MamdaOrderImbalanceSideCopyright 2007 Wombat Financial Software, Inc.