|
|||||||||
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 double s. |
static interface |
Aggregator.Longs
A sequence of long s. |
Method Summary | |
---|---|
double |
runDouble(Aggregator.Doubles values)
Aggregates a sequence of double s. |
long |
runLong(Aggregator.Longs values)
Aggregates a sequence of long s. |
Method Detail |
---|
long runLong(Aggregator.Longs values)
long
s.
values
- The sequence to aggregate.
double runDouble(Aggregator.Doubles values)
double
s.
values
- The sequence to aggregate.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |