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