Class PeekDoubleOperation
java.lang.Object
org.infinispan.stream.impl.intops.primitive.d.PeekDoubleOperation
- All Implemented Interfaces:
IntermediateOperation<Double,DoubleStream, Double, DoubleStream>
public class PeekDoubleOperation
extends Object
implements IntermediateOperation<Double,DoubleStream,Double,DoubleStream>
Performs peek operation on a
DoubleStream-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleInjection(ComponentRegistry registry) Handles injection of components for various dependencies that the intermediate operation hasio.reactivex.rxjava3.core.Flowable<Double>mapFlowable(io.reactivex.rxjava3.core.Flowable<Double> input) Performs the intermediate operation on a Flowable.perform(DoubleStream stream) Performs the actualy intermediate operation returning the resulting stream
-
Constructor Details
-
PeekDoubleOperation
-
-
Method Details
-
perform
Description copied from interface:IntermediateOperationPerforms the actualy intermediate operation returning the resulting stream- Specified by:
performin interfaceIntermediateOperation<Double,DoubleStream, Double, DoubleStream> - Parameters:
stream- the stream to have the operation performed on- Returns:
- the resulting stream after the operation was applied
-
getConsumer
-
handleInjection
Description copied from interface:IntermediateOperationHandles injection of components for various dependencies that the intermediate operation has- Specified by:
handleInjectionin interfaceIntermediateOperation<Double,DoubleStream, Double, DoubleStream> - Parameters:
registry- the registry to use
-
mapFlowable
public io.reactivex.rxjava3.core.Flowable<Double> mapFlowable(io.reactivex.rxjava3.core.Flowable<Double> 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<Double,DoubleStream, Double, DoubleStream> - Parameters:
input- the input flowable- Returns:
-