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