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