Interface StatelessAggregator<R,T>

All Superinterfaces:
Aggregator<R,T>
All Known Implementing Classes:
IntSumAggregator

public interface StatelessAggregator<R,T> extends Aggregator<R,T>
  • Method Details

    • add

      R add(R current, T value)
    • remove

      R remove(R current, T value)
    • aggregateStream

      @NotNull default R aggregateStream(Stream<T> stream)
      Specified by:
      aggregateStream in interface Aggregator<R,T>