|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Cumulating
The interface defining cumulative capabilities. Methods for storing
and retrieving the last data point are provided. Additionally, for
the purpose of serving as a data event source, a method for retrieving
a list of the last measurements is defined.
This is the most primitive interface in a hierarchy and therefore the
methods for retriving data on the time axis are included here.
Methods for querrieing the actual and maximal size of the data buffer are
included.
| Method Summary | |
|---|---|
void |
cumulateOne(double raw,
Date when)
The method for storing a single data point. |
List |
getLastRaw(int nr)
Returns the last nr raw values as a list. |
List |
getLastTime(int nr)
Returns the last nr times of measurements as a list. |
int |
getMaxSize()
Returns the maximal size of the data buffer. |
int |
getSize()
Returns the actual size of the data buffer. |
Date |
getTimeOfRead()
Returns the time of the last reading as a date object. |
double |
regetRaw()
Returns the last raw value as a double. |
| Method Detail |
|---|
int getSize()
int getMaxSize()
void cumulateOne(double raw,
Date when)
double regetRaw()
List getLastRaw(int nr)
The - number of entries to return.Date getTimeOfRead()
List getLastTime(int nr)
The - number of entries to retu
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||