Class AsLongIntOperation
- java.lang.Object
-
- org.infinispan.stream.impl.intops.primitive.i.AsLongIntOperation
-
- All Implemented Interfaces:
IntermediateOperation<Integer,IntStream,Long,LongStream>,MappingOperation<Integer,IntStream,Long,LongStream>
public class AsLongIntOperation extends Object implements MappingOperation<Integer,IntStream,Long,LongStream>
Performs as long operation on aIntStream
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AsLongIntOperationgetInstance()io.reactivex.rxjava3.core.Flowable<Long>mapFlowable(io.reactivex.rxjava3.core.Flowable<Integer> input)Performs the intermediate operation on a Flowable.LongStreamperform(IntStream 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
-
-
-
-
Method Detail
-
getInstance
public static AsLongIntOperation getInstance()
-
perform
public LongStream perform(IntStream stream)
Description copied from interface:IntermediateOperationPerforms the actualy intermediate operation returning the resulting stream- Specified by:
performin interfaceIntermediateOperation<Integer,IntStream,Long,LongStream>- Parameters:
stream- the stream to have the operation performed on- Returns:
- the resulting stream after the operation was applied
-
mapFlowable
public io.reactivex.rxjava3.core.Flowable<Long> 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,Long,LongStream>- Parameters:
input- the input flowable- Returns:
-
-