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