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