public class MapDoubleOperation extends Object implements IntermediateOperation<Double,DoubleStream,Double,DoubleStream>
DoubleStream
Constructor and Description |
---|
MapDoubleOperation(DoubleUnaryOperator operator) |
Modifier and Type | Method and Description |
---|---|
DoubleUnaryOperator |
getOperator() |
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 MapDoubleOperation(DoubleUnaryOperator operator)
public DoubleStream perform(DoubleStream stream)
IntermediateOperation
perform
in interface IntermediateOperation<Double,DoubleStream,Double,DoubleStream>
stream
- the stream to have the operation performed onpublic DoubleUnaryOperator getOperator()
Copyright © 2022 JBoss, a division of Red Hat. All rights reserved.