public class PeekOperation<S> extends Object implements IntermediateOperation<S,Stream<S>,S,Stream<S>>
Stream| Constructor and Description |
|---|
PeekOperation(Consumer<? super S> consumer) |
| Modifier and Type | Method and Description |
|---|---|
Consumer<? super S> |
getConsumer() |
Stream<S> |
perform(Stream<S> stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleInjectionpublic Stream<S> perform(Stream<S> stream)
IntermediateOperationCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.