|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Aggregator
A function capable of aggregating multiple DataPoints together.
All aggregators must be stateless. All they can do is run through a
sequence of Longs or Doubles and return an
aggregated value.
| Nested Class Summary | |
|---|---|
static interface |
Aggregator.Doubles
A sequence of doubles. |
static interface |
Aggregator.Longs
A sequence of longs. |
| Method Summary | |
|---|---|
double |
runDouble(Aggregator.Doubles values)
Aggregates a sequence of doubles. |
long |
runLong(Aggregator.Longs values)
Aggregates a sequence of longs. |
| Method Detail |
|---|
long runLong(Aggregator.Longs values)
longs.
values - The sequence to aggregate.
double runDouble(Aggregator.Doubles values)
doubles.
values - The sequence to aggregate.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||