|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Average
Standard methods for different types of long-term averages.
Method Summary | |
---|---|
double |
getAverage()
Return average-so-far. |
void |
reset()
sets back to start-of-day |
double |
update(double newValue)
Update average and return average-so-far. |
Method Detail |
---|
double update(double newValue)
double getAverage()
void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |