Added in API level 35

LongMapMultiConsumer

@FunctionalInterface interface LongMapMultiConsumer
java.util.stream.LongStream.LongMapMultiConsumer

Represents an operation that accepts a long-valued argument and a LongConsumer, and returns no result. This functional interface is used by LongStream.mapMulti to replace a long value with zero or more long values.

This is a functional interface whose functional method is accept(long,java.util.function.LongConsumer).

Summary

Public methods
abstract Unit
accept(value: Long, lc: LongConsumer!)

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

Public methods

accept

Added in API level 35
abstract fun accept(
    value: Long,
    lc: LongConsumer!
): Unit

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

Parameters
value Long: the long value coming from upstream
lc LongConsumer!: a LongConsumer accepting the mapped values