public static interface DoubleStream.DoubleMapMultiConsumer
double-valued argument
and a DoubleConsumer, and returns no result. This functional interface is
used by DoubleStreams.mapMulti to replace a double value with zero or more double values.
This is a functional interface
whose functional method is accept(double, DoubleConsumer).
DoubleStream.mapMulti(java8.util.stream.DoubleStream.DoubleMapMultiConsumer)| Modifier and Type | Method and Description |
|---|---|
void |
accept(double value,
DoubleConsumer dc)
Replaces the given
value with zero or more values by feeding the mapped
values to the dc consumer. |
void accept(double value,
DoubleConsumer dc)
value with zero or more values by feeding the mapped
values to the dc consumer.value - the double value coming from upstreamdc - a DoubleConsumer accepting the mapped valuesCopyright © 2021. All rights reserved.