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 Details

    • AggregatorBase

      public AggregatorBase(String name, String description, IType<? super V> ct)
  • Method Details

    • getValueType

      public IType<? super V> getValueType()
    • getName

      public String getName()
      Specified by:
      getName in interface IDescribable
      Returns:
      the name of this object
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface IDescribable
      Returns:
      the description of this object
    • getValue

      V getValue(Iterator<C> source)
      Parameters:
      source - the source to build the value from
      Returns:
      the constructed value