public class PriceLevelImpl extends java.lang.Object implements PriceLevel
| Modifier and Type | Class and Description |
|---|---|
static class |
PriceLevelImpl.BestBidComparator
Comparator used to sort bids from best to worst.
|
| Modifier and Type | Field and Description |
|---|---|
static PriceLevel |
NULL |
int |
numberOfOrders |
long |
price |
long |
qty |
| Constructor and Description |
|---|
PriceLevelImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfOrders() |
double |
getPrice() |
long |
getPriceAsMantissa() |
double |
getQty() |
long |
getQtyAsMantissa() |
java.lang.String |
toString() |
public static final PriceLevel NULL
public long price
public long qty
public int numberOfOrders
public long getPriceAsMantissa()
getPriceAsMantissa in interface PriceLevelpublic long getQtyAsMantissa()
getQtyAsMantissa in interface PriceLevelpublic int getNumberOfOrders()
getNumberOfOrders in interface PriceLevelpublic double getPrice()
getPrice in interface PriceLevelpublic double getQty()
getQty in interface PriceLevelpublic java.lang.String toString()
toString in class java.lang.Object