I
- the type of the input streampublic class MapToIntOperation<I> extends Object implements MappingOperation<I,Stream<I>,Integer,IntStream>
Stream
Constructor and Description |
---|
MapToIntOperation(ToIntFunction<? super I> function) |
Modifier and Type | Method and Description |
---|---|
ToIntFunction<? super I> |
getFunction() |
io.reactivex.rxjava3.core.Flowable<Integer> |
mapFlowable(io.reactivex.rxjava3.core.Flowable<I> input)
Performs the intermediate operation on a Flowable.
|
IntStream |
perform(Stream<I> stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleInjection
public MapToIntOperation(ToIntFunction<? super I> function)
public IntStream perform(Stream<I> stream)
IntermediateOperation
public ToIntFunction<? super I> getFunction()
public io.reactivex.rxjava3.core.Flowable<Integer> mapFlowable(io.reactivex.rxjava3.core.Flowable<I> input)
IntermediateOperation
mapFlowable
in interface IntermediateOperation<I,Stream<I>,Integer,IntStream>
input
- the input flowableCopyright © 2021 JBoss by Red Hat. All rights reserved.