public class MapToLongIntOperation extends Object implements IntermediateOperation<Integer,IntStream,Long,LongStream>
IntStream
Constructor and Description |
---|
MapToLongIntOperation(IntToLongFunction function) |
Modifier and Type | Method and Description |
---|---|
IntToLongFunction |
getFunction() |
LongStream |
perform(IntStream stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleInjection
public MapToLongIntOperation(IntToLongFunction function)
public LongStream perform(IntStream stream)
IntermediateOperation
perform
in interface IntermediateOperation<Integer,IntStream,Long,LongStream>
stream
- the stream to have the operation performed onpublic IntToLongFunction getFunction()
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.