Class AsDoubleLongOperation
- java.lang.Object
-
- org.infinispan.stream.impl.intops.primitive.l.AsDoubleLongOperation
-
- All Implemented Interfaces:
IntermediateOperation<Long,LongStream,Double,DoubleStream>,MappingOperation<Long,LongStream,Double,DoubleStream>
public class AsDoubleLongOperation extends Object implements MappingOperation<Long,LongStream,Double,DoubleStream>
Performs as double operation on aLongStream
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AsDoubleLongOperationgetInstance()io.reactivex.rxjava3.core.Flowable<Double>mapFlowable(io.reactivex.rxjava3.core.Flowable<Long> input)Performs the intermediate operation on a Flowable.DoubleStreamperform(LongStream 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 AsDoubleLongOperation getInstance()
-
perform
public DoubleStream perform(LongStream stream)
Description copied from interface:IntermediateOperationPerforms the actualy intermediate operation returning the resulting stream- Specified by:
performin interfaceIntermediateOperation<Long,LongStream,Double,DoubleStream>- 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<Double> mapFlowable(io.reactivex.rxjava3.core.Flowable<Long> 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<Long,LongStream,Double,DoubleStream>- Parameters:
input- the input flowable- Returns:
-
-