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.Integer c1,
java.lang.Integer c2,
java.lang.Integer c3,
java.lang.Integer c4,
java.lang.Integer e,
java.lang.Double p,
java.lang.Integer s,
java.lang.Long t) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.Integer |
getC1()
Condition 1 of this trade
|
java.lang.Integer |
getC2()
Condition 2 of this trade
|
java.lang.Integer |
getC3()
Condition 3 of this trade
|
java.lang.Integer |
getC4()
Condition 4 of this trade
|
java.lang.Integer |
getE()
The exchange this trade happened on
|
java.lang.Double |
getP()
Price of the trade
|
java.lang.Integer |
getS()
Size of the trade
|
java.lang.Long |
getT()
Timestamp of this trade
|
int |
hashCode() |
void |
setC1(java.lang.Integer c1)
Condition 1 of this trade
|
void |
setC2(java.lang.Integer c2)
Condition 2 of this trade
|
void |
setC3(java.lang.Integer c3)
Condition 3 of this trade
|
void |
setC4(java.lang.Integer c4)
Condition 4 of this trade
|
void |
setE(java.lang.Integer e)
The exchange this trade happened on
|
void |
setP(java.lang.Double p)
Price of the trade
|
void |
setS(java.lang.Integer s)
Size of the trade
|
void |
setT(java.lang.Long t)
Timestamp of this trade
|
java.lang.String |
toString() |
public LastTrade()
public LastTrade(java.lang.Integer c1, java.lang.Integer c2, java.lang.Integer c3, java.lang.Integer c4, java.lang.Integer e, java.lang.Double p, java.lang.Integer s, java.lang.Long t)
c3
- p
- c4
- s
- t
- e
- c1
- c2
- public java.lang.Integer getC1()
public void setC1(java.lang.Integer c1)
public java.lang.Integer getC2()
public void setC2(java.lang.Integer c2)
public java.lang.Integer getC3()
public void setC3(java.lang.Integer c3)
public java.lang.Integer getC4()
public void setC4(java.lang.Integer c4)
public java.lang.Integer getE()
public void setE(java.lang.Integer e)
public java.lang.Double getP()
public void setP(java.lang.Double p)
public java.lang.Integer getS()
public void setS(java.lang.Integer s)
public java.lang.Long getT()
public void setT(java.lang.Long t)
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