Class FilterLongOperation<S>
- java.lang.Object
-
- org.infinispan.stream.impl.intops.primitive.l.FilterLongOperation<S>
-
- All Implemented Interfaces:
IntermediateOperation<Long,LongStream,Long,LongStream>
public class FilterLongOperation<S> extends Object implements IntermediateOperation<Long,LongStream,Long,LongStream>
Performs filter operation on aLongStream
-
-
Constructor Summary
Constructors Constructor Description FilterLongOperation(LongPredicate predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongPredicate
getPredicate()
LongStream
perform(LongStream stream)
Performs the actualy intermediate operation returning the resulting stream-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.stream.impl.intops.IntermediateOperation
handleInjection
-
-
-
-
Constructor Detail
-
FilterLongOperation
public FilterLongOperation(LongPredicate predicate)
-
-
Method Detail
-
perform
public LongStream perform(LongStream stream)
Description copied from interface:IntermediateOperation
Performs the actualy intermediate operation returning the resulting stream- Specified by:
perform
in interfaceIntermediateOperation<Long,LongStream,Long,LongStream>
- Parameters:
stream
- the stream to have the operation performed on- Returns:
- the resulting stream after the operation was applied
-
getPredicate
public LongPredicate getPredicate()
-
-