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