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