Added in API level 35
IntMapMultiConsumer
@FunctionalInterface interface IntMapMultiConsumer
| java.util.stream.IntStream.IntMapMultiConsumer |
Represents an operation that accepts an int-valued argument and an IntConsumer, and returns no result. This functional interface is used by IntStream.mapMulti to replace an int value with zero or more int values.
This is a functional interface whose functional method is accept(int,java.util.function.IntConsumer).
Summary
| Public methods | |
|---|---|
| abstract Unit |
accept(value: Int, ic: IntConsumer!)Replaces the given |
Public methods
accept
Added in API level 35
abstract fun accept(
value: Int,
ic: IntConsumer!
): Unit
Replaces the given value with zero or more values by feeding the mapped values to the ic consumer.
| Parameters | |
|---|---|
value |
Int: the int value coming from upstream |
ic |
IntConsumer!: an IntConsumer accepting the mapped values |