Package one.microstream.functional
Class AggregateContains<E>
java.lang.Object
one.microstream.functional.AggregateContains<E>
- All Implemented Interfaces:
Consumer<E>
,Aggregator<E,Boolean>
public final class AggregateContains<E> extends Object implements Aggregator<E,Boolean>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.functional.Aggregator
Aggregator.Creator<E,R>
-
Constructor Summary
Constructors Constructor Description AggregateContains(Predicate<? super E> predicate)
-
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,Boolean>
- Returns:
- the collected object
-