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:Aggregator
Aggregate single element to the collecting object. -
yield
Description copied from interface:Aggregator
Builds or aggregates the added elements to one collected object.- Specified by:
yield
in interfaceAggregator<E,R>
- Returns:
- the collected object
-