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, wait
handleInjection
public Stream<S> perform(Stream<S> stream)
IntermediateOperation
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.