java.io.Serializable
public class Snapshot
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
Snapshot() |
No args constructor for use in serialization
|
Snapshot(java.lang.String ticker,
Day day,
LastTrade lastTrade,
Min min,
PrevDay prevDay,
float todaysChange,
float todaysChangePerc,
long updated) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object other) |
|
Day |
getDay() |
|
LastTrade |
getLastTrade() |
|
Min |
getMin() |
|
PrevDay |
getPrevDay() |
|
java.lang.String |
getTicker() |
|
float |
getTodaysChange() |
|
float |
getTodaysChangePerc() |
|
long |
getUpdated() |
|
int |
hashCode() |
|
void |
setDay(Day day) |
|
void |
setLastTrade(LastTrade lastTrade) |
|
void |
setMin(Min min) |
|
void |
setPrevDay(PrevDay prevDay) |
|
void |
setTicker(java.lang.String ticker) |
|
void |
setTodaysChange(float todaysChange) |
|
void |
setTodaysChangePerc(float todaysChangePerc) |
|
void |
setUpdated(long updated) |
|
java.lang.String |
toString() |
public java.lang.String getTicker()
public void setTicker(java.lang.String ticker)
public Day getDay()
public void setDay(Day day)
public LastTrade getLastTrade()
public void setLastTrade(LastTrade lastTrade)
public Min getMin()
public void setMin(Min min)
public PrevDay getPrevDay()
public void setPrevDay(PrevDay prevDay)
public float getTodaysChange()
public void setTodaysChange(float todaysChange)
public float getTodaysChangePerc()
public void setTodaysChangePerc(float todaysChangePerc)
public long getUpdated()
public void setUpdated(long updated)
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