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