public class MapLongOperation extends Object implements IntermediateOperation<Long,LongStream,Long,LongStream>
LongStream
Constructor and Description |
---|
MapLongOperation(LongUnaryOperator operator) |
Modifier and Type | Method and Description |
---|---|
LongUnaryOperator |
getOperator() |
LongStream |
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 MapLongOperation(LongUnaryOperator operator)
public LongStream perform(LongStream stream)
IntermediateOperation
perform
in interface IntermediateOperation<Long,LongStream,Long,LongStream>
stream
- the stream to have the operation performed onpublic LongUnaryOperator getOperator()
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.