Added in API level 35

DoubleMapMultiConsumer

@FunctionalInterface interface 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 Unit
accept(value: Double, dc: DoubleConsumer!)

Replaces the given value with zero or more values by feeding the mapped values to the dc consumer.

Public methods

accept

Added in API level 35
abstract fun accept(
    value: Double,
    dc: DoubleConsumer!
): Unit

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