public class LastTrade
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
LastTrade()
No args constructor for use in serialization
|
LastTrade(java.lang.Double price,
java.lang.Integer size,
java.lang.Integer exchange,
java.lang.Integer cond1,
java.lang.Integer cond2,
java.lang.Integer cond3,
java.lang.Integer cond4,
java.lang.Long timestamp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.Integer |
getCond1()
Condition 1 of the trade
|
java.lang.Integer |
getCond2()
Condition 2 of the trade
|
java.lang.Integer |
getCond3()
Condition 3 of the trade
|
java.lang.Integer |
getCond4()
Condition 4 of the trade
|
java.lang.Integer |
getExchange()
Exchange this trade happened on
|
java.lang.Double |
getPrice()
Price of the trade
|
java.lang.Integer |
getSize()
Size of this trade
|
java.lang.Long |
getTimestamp()
Timestamp of this trade
|
int |
hashCode() |
void |
setCond1(java.lang.Integer cond1)
Condition 1 of the trade
|
void |
setCond2(java.lang.Integer cond2)
Condition 2 of the trade
|
void |
setCond3(java.lang.Integer cond3)
Condition 3 of the trade
|
void |
setCond4(java.lang.Integer cond4)
Condition 4 of the trade
|
void |
setExchange(java.lang.Integer exchange)
Exchange this trade happened on
|
void |
setPrice(java.lang.Double price)
Price of the trade
|
void |
setSize(java.lang.Integer size)
Size of this trade
|
void |
setTimestamp(java.lang.Long timestamp)
Timestamp of this trade
|
java.lang.String |
toString() |
public LastTrade()
public LastTrade(java.lang.Double price, java.lang.Integer size, java.lang.Integer exchange, java.lang.Integer cond1, java.lang.Integer cond2, java.lang.Integer cond3, java.lang.Integer cond4, java.lang.Long timestamp)
size
- cond4
- price
- cond3
- cond2
- cond1
- exchange
- timestamp
- public java.lang.Double getPrice()
public void setPrice(java.lang.Double price)
public java.lang.Integer getSize()
public void setSize(java.lang.Integer size)
public java.lang.Integer getExchange()
public void setExchange(java.lang.Integer exchange)
public java.lang.Integer getCond1()
public void setCond1(java.lang.Integer cond1)
public java.lang.Integer getCond2()
public void setCond2(java.lang.Integer cond2)
public java.lang.Integer getCond3()
public void setCond3(java.lang.Integer cond3)
public java.lang.Integer getCond4()
public void setCond4(java.lang.Integer cond4)
public java.lang.Long getTimestamp()
public void setTimestamp(java.lang.Long timestamp)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object