public class MapToLongDoubleOperation extends Object implements IntermediateOperation<Double,DoubleStream,Long,LongStream>
DoubleStream
Constructor and Description |
---|
MapToLongDoubleOperation(DoubleToLongFunction function) |
Modifier and Type | Method and Description |
---|---|
DoubleToLongFunction |
getFunction() |
LongStream |
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 MapToLongDoubleOperation(DoubleToLongFunction function)
public LongStream perform(DoubleStream stream)
IntermediateOperation
perform
in interface IntermediateOperation<Double,DoubleStream,Long,LongStream>
stream
- the stream to have the operation performed onpublic DoubleToLongFunction getFunction()
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.