Package org.openjdk.jmc.common.item
Class Aggregators.AggregatorBase<V,C extends IItemConsumer<C>>
- java.lang.Object
-
- org.openjdk.jmc.common.item.Aggregators.AggregatorBase<V,C>
-
- All Implemented Interfaces:
IDescribable,IAggregator<V,C>,IItemConsumerFactory<C>
- Direct Known Subclasses:
Aggregators.MergingAggregator
- Enclosing class:
- Aggregators
public abstract static class Aggregators.AggregatorBase<V,C extends IItemConsumer<C>> extends Object implements IAggregator<V,C>
-
-
Constructor Summary
Constructors Constructor Description AggregatorBase(String name, String description, IType<? super V> ct)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()VgetValue(S source)IType<? super V>getValueType()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openjdk.jmc.common.item.IItemConsumerFactory
acceptType, newItemConsumer
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceIDescribable- Returns:
- the name of this object
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIDescribable- Returns:
- the description of this object
-
getValue
public abstract V getValue(S source)
- Parameters:
source- the source to build the value from- Returns:
- the constructed value
-
-