public class StockTick extends Object
Constructor and Description |
---|
StockTick() |
StockTick(String symbol,
double price,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
String |
createString() |
double |
getDelta() |
double |
getPrice() |
String |
getSymbol() |
long |
getTimestamp() |
void |
setDelta(double delta) |
void |
setPrice(double price) |
void |
setStr(String str) |
void |
setSymbol(String symbol) |
void |
setTimestamp(long timestamp) |
String |
toString() |
public StockTick()
public StockTick(String symbol, double price, long timestamp)
public void setSymbol(String symbol)
public void setPrice(double price)
public void setTimestamp(long timestamp)
public void setStr(String str)
public String getSymbol()
public double getPrice()
public long getTimestamp()
public String createString()
public double getDelta()
public void setDelta(double delta)
Copyright © 2020. All rights reserved.