V
- the type of the calculation resultC
- An item consumer type. See IItemConsumer
about the self referring extends
definition. Only really important when implementing this interface. When handling
aggregator instances you can usually use ?
.public interface IAggregator<V,C extends IItemConsumer<C>> extends IItemConsumerFactory<C>, IDescribable
IItemConsumerFactory
that creates
IItemConsumer
s which consumes input items and calculates intermediate values,
IValueBuilder
which maps from the IItemConsumer intermediate values to the output value,
and IDescribable
which provides human readable descriptions about the output value.Modifier and Type | Method and Description |
---|---|
V |
getValue(S source) |
IType<? super V> |
getValueType() |
acceptType, newItemConsumer
getDescription, getName
IType<? super V> getValueType()
V getValue(S source)
source
- the source to build the value fromCopyright © 2019. All rights reserved.