Class LimitIntOperation
java.lang.Object
org.infinispan.stream.impl.intops.primitive.i.LimitIntOperation
- All Implemented Interfaces:
IntermediateOperation<Integer,IntStream, Integer, IntStream>
public class LimitIntOperation
extends Object
implements IntermediateOperation<Integer,IntStream,Integer,IntStream>
Performs limit operation on a
IntStream-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetLimit()io.reactivex.rxjava3.core.Flowable<Integer>mapFlowable(io.reactivex.rxjava3.core.Flowable<Integer> input) Performs the intermediate operation on a Flowable.Performs the actualy intermediate operation returning the resulting streamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.stream.impl.intops.IntermediateOperation
handleInjection
-
Constructor Details
-
LimitIntOperation
public LimitIntOperation(long limit)
-
-
Method Details
-
perform
Description copied from interface:IntermediateOperationPerforms the actualy intermediate operation returning the resulting stream -
getLimit
public long getLimit() -
mapFlowable
public io.reactivex.rxjava3.core.Flowable<Integer> mapFlowable(io.reactivex.rxjava3.core.Flowable<Integer> input) Description copied from interface:IntermediateOperationPerforms the intermediate operation on a Flowable. This is an interop method to allow Distributed Streams to actually use Distributed Publisher- Specified by:
mapFlowablein interfaceIntermediateOperation<Integer,IntStream, Integer, IntStream> - Parameters:
input- the input flowable- Returns:
-