Package org.openjdk.jmc.common.item
Class Aggregators.Avg
- java.lang.Object
- 
- org.openjdk.jmc.common.item.Aggregators.AggregatorBase<V,C>
- 
- org.openjdk.jmc.common.item.Aggregators.MergingAggregator<V,C>
- 
- org.openjdk.jmc.common.item.Aggregators.FieldAggregatorBase<IQuantity,Aggregators.AvgConsumer>
- 
- org.openjdk.jmc.common.item.Aggregators.Avg
 
 
 
 
- 
- All Implemented Interfaces:
- IDescribable,- IAggregator<IQuantity,Aggregators.AvgConsumer>,- IItemConsumerFactory<Aggregators.AvgConsumer>
 - Enclosing class:
- Aggregators
 
 public abstract static class Aggregators.Avg extends Aggregators.FieldAggregatorBase<IQuantity,Aggregators.AvgConsumer> 
- 
- 
Constructor SummaryConstructors Constructor Description Avg(String name, String description, ContentType<IQuantity> ct)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IQuantitygetValue(Aggregators.AvgConsumer consumer)Aggregators.AvgConsumernewItemConsumer(IType<IItem> type)- 
Methods inherited from class org.openjdk.jmc.common.item.Aggregators.FieldAggregatorBaseacceptType, doGetAccessor
 - 
Methods inherited from class org.openjdk.jmc.common.item.Aggregators.MergingAggregatorgetValue
 - 
Methods inherited from class org.openjdk.jmc.common.item.Aggregators.AggregatorBasegetDescription, getName, getValueType
 
- 
 
- 
- 
- 
Constructor Detail- 
Avgpublic Avg(String name, String description, ContentType<IQuantity> ct) 
 
- 
 - 
Method Detail- 
newItemConsumerpublic Aggregators.AvgConsumer newItemConsumer(IType<IItem> type) - Parameters:
- type- an item type to get an item consumer for
- Returns:
- a new item consumer for the supplied type
 
 - 
getValuepublic IQuantity getValue(Aggregators.AvgConsumer consumer) - Specified by:
- getValuein class- Aggregators.MergingAggregator<IQuantity,Aggregators.AvgConsumer>
 
 
- 
 
-