public class BookData
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
BookData()
No args constructor for use in serialization
|
BookData(java.lang.String ticker,
java.util.ArrayList<BookOrder> bids,
java.util.ArrayList<BookOrder> asks,
java.lang.Integer bidCount,
java.lang.Integer askCount,
java.lang.Double spread,
java.lang.Long updated) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
java.lang.Integer |
getAskCount()
The volume of asks on the book
|
java.util.ArrayList<BookOrder> |
getAsks()
The asks on the book
|
java.lang.Integer |
getBidCount()
The volume of bids on the book
|
java.util.ArrayList<BookOrder> |
getBids()
The bids on the book
|
java.lang.Double |
getSpread()
The spread
|
java.lang.String |
getTicker()
The ticker
|
java.lang.Long |
getUpdated()
Updated timestamp
|
int |
hashCode() |
void |
setAskCount(java.lang.Integer askCount)
The volume of asks on the book
|
void |
setAsks(java.util.ArrayList<BookOrder> asks)
The asks on the book
|
void |
setBidCount(java.lang.Integer bidCount)
The volume of bids on the book
|
void |
setBids(java.util.ArrayList<BookOrder> bids)
The bids on the book
|
void |
setSpread(java.lang.Double spread)
The spread
|
void |
setTicker(java.lang.String ticker)
The ticker
|
void |
setUpdated(java.lang.Long updated)
Updated timestamp
|
java.lang.String |
toString() |
public BookData()
public BookData(java.lang.String ticker,
java.util.ArrayList<BookOrder> bids,
java.util.ArrayList<BookOrder> asks,
java.lang.Integer bidCount,
java.lang.Integer askCount,
java.lang.Double spread,
java.lang.Long updated)
ticker - asks - bids - bidCount - updated - askCount - spread - public java.lang.String getTicker()
public void setTicker(java.lang.String ticker)
public java.util.ArrayList<BookOrder> getBids()
public void setBids(java.util.ArrayList<BookOrder> bids)
public java.util.ArrayList<BookOrder> getAsks()
public void setAsks(java.util.ArrayList<BookOrder> asks)
public java.lang.Integer getBidCount()
public void setBidCount(java.lang.Integer bidCount)
public java.lang.Integer getAskCount()
public void setAskCount(java.lang.Integer askCount)
public java.lang.Double getSpread()
public void setSpread(java.lang.Double spread)
public java.lang.Long getUpdated()
public void setUpdated(java.lang.Long updated)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object