DoubleStream.DoubleMapMultiConsumer
public
static
interface
DoubleStream.DoubleMapMultiConsumer
java.util.stream.DoubleStream.DoubleMapMultiConsumer |
Represents an operation that accepts a double
-valued argument
and a DoubleConsumer, and returns no result. This functional interface is
used by DoubleStream.mapMulti
to replace a double value with zero or more double values.
This is a functional interface
whose functional method is accept(double, java.util.function.DoubleConsumer)
.
Summary
Public methods | |
---|---|
abstract
void
|
accept(double value, DoubleConsumer dc)
Replaces the given |
Public methods
accept
public abstract void accept (double value, DoubleConsumer dc)
Replaces the given value
with zero or more values by feeding the mapped
values to the dc
consumer.
Parameters | |
---|---|
value |
double : the double value coming from upstream |
dc |
DoubleConsumer : a DoubleConsumer accepting the mapped values |