Class MapDoubleOperation
- java.lang.Object
-
- org.infinispan.stream.impl.intops.primitive.d.MapDoubleOperation
-
- All Implemented Interfaces:
IntermediateOperation<Double,DoubleStream,Double,DoubleStream>
public class MapDoubleOperation extends Object implements IntermediateOperation<Double,DoubleStream,Double,DoubleStream>
Performs map operation on aDoubleStream
-
-
Constructor Summary
Constructors Constructor Description MapDoubleOperation(DoubleUnaryOperator operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleUnaryOperator
getOperator()
DoubleStream
perform(DoubleStream 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
-
-
-
-
Constructor Detail
-
MapDoubleOperation
public MapDoubleOperation(DoubleUnaryOperator operator)
-
-
Method Detail
-
perform
public DoubleStream perform(DoubleStream stream)
Description copied from interface:IntermediateOperation
Performs the actualy intermediate operation returning the resulting stream- Specified by:
perform
in interfaceIntermediateOperation<Double,DoubleStream,Double,DoubleStream>
- Parameters:
stream
- the stream to have the operation performed on- Returns:
- the resulting stream after the operation was applied
-
getOperator
public DoubleUnaryOperator getOperator()
-
-