Class MapToIntOperation<I>
java.lang.Object
org.infinispan.stream.impl.intops.object.MapToIntOperation<I>
- Type Parameters:
I- the type of the input stream
- All Implemented Interfaces:
IntermediateOperation<I,,Stream<I>, Integer, IntStream> MappingOperation<I,Stream<I>, Integer, IntStream>
public class MapToIntOperation<I>
extends Object
implements MappingOperation<I,Stream<I>,Integer,IntStream>
Performs map to int operation on a regular
Stream-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionToIntFunction<? super I>io.reactivex.rxjava3.core.Flowable<Integer>mapFlowable(io.reactivex.rxjava3.core.Flowable<I> 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
-
MapToIntOperation
-
-
Method Details
-
perform
Description copied from interface:IntermediateOperationPerforms the actualy intermediate operation returning the resulting stream -
getFunction
-
mapFlowable
public io.reactivex.rxjava3.core.Flowable<Integer> mapFlowable(io.reactivex.rxjava3.core.Flowable<I> 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<I,Stream<I>, Integer, IntStream> - Parameters:
input- the input flowable- Returns:
-