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