public abstract static class Aggregators.Avg extends Aggregators.FieldAggregatorBase<IQuantity,Aggregators.AvgConsumer>
| Constructor and Description |
|---|
Avg(String name,
String description,
ContentType<IQuantity> ct) |
| Modifier and Type | Method and Description |
|---|---|
IQuantity |
getValue(Aggregators.AvgConsumer consumer) |
Aggregators.AvgConsumer |
newItemConsumer(IType<IItem> type) |
acceptType, doGetAccessorgetValuegetDescription, getName, getValueTypepublic Avg(String name, String description, ContentType<IQuantity> ct)
public Aggregators.AvgConsumer newItemConsumer(IType<IItem> type)
type - an item type to get an item consumer forpublic IQuantity getValue(Aggregators.AvgConsumer consumer)
getValue in class Aggregators.MergingAggregator<IQuantity,Aggregators.AvgConsumer>Copyright © 2019. All rights reserved.