R
- the type of the output streampublic class MapToObjDoubleOperation<R> extends Object implements IntermediateOperation<Double,DoubleStream,R,Stream<R>>
DoubleStream
Constructor and Description |
---|
MapToObjDoubleOperation(DoubleFunction<? extends R> function) |
Modifier and Type | Method and Description |
---|---|
DoubleFunction<? extends R> |
getFunction() |
Stream<R> |
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 MapToObjDoubleOperation(DoubleFunction<? extends R> function)
public Stream<R> perform(DoubleStream stream)
IntermediateOperation
perform
in interface IntermediateOperation<Double,DoubleStream,R,Stream<R>>
stream
- the stream to have the operation performed onpublic DoubleFunction<? extends R> getFunction()
Copyright © 2021 JBoss, a division of Red Hat. All rights reserved.