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