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, waithandleInjectionpublic PeekLongOperation(LongConsumer consumer)
public LongStream perform(LongStream stream)
IntermediateOperationperform in interface IntermediateOperation<Long,LongStream,Long,LongStream>stream - the stream to have the operation performed onpublic LongConsumer getConsumer()
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.