Interface Aggregator<E,​R>

All Superinterfaces:
Consumer<E>
All Known Subinterfaces:
SortingAggregator<E,​R>
All Known Implementing Classes:
Aggregate_doubleMin, Aggregate_doubleSum, AggregateApplies, AggregateArrayAdder, AggregateArrayBuilder, AggregateContains, AggregateCount, AggregateCountingAdd, AggregateCountingPut, AggregateMax, AggregateMin, AggregateOffsetLength, AggregateSearch, AvgInteger, AvgIntegerNonNull, CqlWrapperCollectorLinkingFinalizing, CqlWrapperCollectorLinkingSorting, CqlWrapperCollectorProcedure, CqlWrapperCollectorSequenceSorting, KamikazeArrayAdder, PickAggregate, SumByte, SumDouble, SumFloat, SumInteger, SumLong, SumShort, ToArrayAggregator, TypeDictionaryAppenderBuilder, XFunc.MaxInteger
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface Aggregator<E,​R>
extends Consumer<E>
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static interface  Aggregator.Creator<E,​R>  
  • Method Summary

    Modifier and Type Method Description
    void accept​(E element)  
    default Aggregator<E,​R> reset()  
    default R yield()  

    Methods inherited from interface java.util.function.Consumer

    andThen