java.io.Serializable
public class Trade
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
Trade() |
No args constructor for use in serialization
|
Trade(float price,
long size,
long exchange,
long cond1,
long cond2,
long cond3,
long cond4,
long timestamp) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object other) |
|
long |
getCond1() |
|
long |
getCond2() |
|
long |
getCond3() |
|
long |
getCond4() |
|
long |
getExchange() |
|
float |
getPrice() |
|
long |
getSize() |
|
long |
getTimestamp() |
|
int |
hashCode() |
|
void |
setCond1(long cond1) |
|
void |
setCond2(long cond2) |
|
void |
setCond3(long cond3) |
|
void |
setCond4(long cond4) |
|
void |
setExchange(long exchange) |
|
void |
setPrice(float price) |
|
void |
setSize(long size) |
|
void |
setTimestamp(long timestamp) |
|
java.lang.String |
toString() |
public Trade()
public Trade(float price, long size, long exchange, long cond1, long cond2, long cond3, long cond4, long timestamp)
size
- cond4
- price
- cond3
- cond2
- cond1
- exchange
- timestamp
- public float getPrice()
public void setPrice(float price)
public long getSize()
public void setSize(long size)
public long getExchange()
public void setExchange(long exchange)
public long getCond1()
public void setCond1(long cond1)
public long getCond2()
public void setCond2(long cond2)
public long getCond3()
public void setCond3(long cond3)
public long getCond4()
public void setCond4(long cond4)
public long getTimestamp()
public void setTimestamp(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