|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Ticker
A ticker implements a DataSource
interface on top of a file containing floating
point numbers.
DataSource
,
DataSink
Constructor Summary | |
Ticker(java.lang.String filename)
Sole constructor. |
Method Summary | |
int |
max()
Gets the maximum ticker value. |
PointValue |
next()
Fetches the next point value |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Ticker(java.lang.String filename)
filename
- source of the ticks.Method Detail |
public PointValue next()
next
in interface DataSource
null
if no more.public int max()
max
in interface DataSource
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |