Class FlatMapToIntOperation<I>
- java.lang.Object
-
- org.infinispan.stream.impl.intops.object.FlatMapToIntOperation<I>
-
- Type Parameters:
I- the type of the input stream
- All Implemented Interfaces:
FlatMappingOperation<I,Stream<I>,Integer,IntStream>,IntermediateOperation<I,Stream<I>,Integer,IntStream>,MappingOperation<I,Stream<I>,Integer,IntStream>
public class FlatMapToIntOperation<I> extends Object implements FlatMappingOperation<I,Stream<I>,Integer,IntStream>
Performs flat map to int operation on a regularStream
-
-
Constructor Summary
Constructors Constructor Description FlatMapToIntOperation(Function<? super I,? extends IntStream> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<? super I,? extends IntStream>getFunction()Stream<IntStream>map(Stream<I> iStream)Instead of flat mapping this returns a stream ofFlatMappingOperation.io.reactivex.rxjava3.core.Flowable<Integer>mapFlowable(io.reactivex.rxjava3.core.Flowable<I> input)Performs the intermediate operation on a Flowable.IntStreamperform(Stream<I> 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
-
perform
public IntStream perform(Stream<I> stream)
Description copied from interface:IntermediateOperationPerforms the actualy intermediate operation returning the resulting stream
-
map
public Stream<IntStream> map(Stream<I> iStream)
Description copied from interface:FlatMappingOperationInstead of flat mapping this returns a stream ofFlatMappingOperation.
-
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:
-
-