public class PeekDoubleOperation extends Object implements IntermediateOperation<Double,DoubleStream,Double,DoubleStream>
DoubleStream
Constructor and Description |
---|
PeekDoubleOperation(DoubleConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
DoubleConsumer |
getConsumer() |
DoubleStream |
perform(DoubleStream stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleInjection
public PeekDoubleOperation(DoubleConsumer consumer)
public DoubleStream perform(DoubleStream stream)
IntermediateOperation
perform
in interface IntermediateOperation<Double,DoubleStream,Double,DoubleStream>
stream
- the stream to have the operation performed onpublic DoubleConsumer getConsumer()
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.