@FunctionalInterface interface 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,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

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

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-02-26 UTC.