Package one.microstream.functional
Class AggregateOffsetLength<E,R>
java.lang.Object
one.microstream.functional.AggregateOffsetLength<E,R>
- All Implemented Interfaces:
Consumer<E>,Aggregator<E,R>
public final class AggregateOffsetLength<E,R> extends Object implements Aggregator<E,R>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.functional.Aggregator
Aggregator.Creator<E,R> -
Constructor Summary
Constructors Constructor Description AggregateOffsetLength(long offset, long length, Aggregator<? super E,R> aggregate) -
Method Summary
-
Constructor Details
-
Method Details
-
accept
Description copied from interface:AggregatorAggregate single element to the collecting object. -
yield
Description copied from interface:AggregatorBuilds or aggregates the added elements to one collected object.- Specified by:
yieldin interfaceAggregator<E,R>- Returns:
- the collected object
-