# IntStream.IntMapMultiConsumer

Added in[API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# IntMapMultiConsumer

```
@FunctionalInterface interface IntMapMultiConsumer
```

|--------------------------------------------------------------------------------------------------------------------------------------------------|
| [java.util.stream.IntStream.IntMapMultiConsumer](https://developer.android.com/reference/kotlin/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](https://developer.android.com/reference/kotlin/java/util/stream/IntStream#mapMulti(java.util.stream.IntStream.IntMapMultiConsumer))to replace an int value with zero or more int values.

This is a[functional interface](https://developer.android.com/reference/kotlin/java/util/function/package-summary.html)whose functional method is[accept(int,java.util.function.IntConsumer)](https://developer.android.com/reference/kotlin/java/util/stream/IntStream.IntMapMultiConsumer#accept(kotlin.Int,%20java.util.function.IntConsumer)).

## Summary

|                                                                                                                                                                                                                                                                       Public methods                                                                                                                                                                                                                                                                        ||
|--------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| abstract[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [accept](https://developer.android.com/reference/kotlin/java/util/stream/IntStream.IntMapMultiConsumer#accept(kotlin.Int,%20java.util.function.IntConsumer))`(`value:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `ic:` `[IntConsumer](https://developer.android.com/reference/kotlin/java/util/function/IntConsumer.html#)!`)` Replaces the given`value`with zero or more values by feeding the mapped values to the`ic`consumer. |

## Public methods

### accept

Added in[API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
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](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html):the int value coming from upstream                                  |
| `ic`    | [IntConsumer](https://developer.android.com/reference/kotlin/java/util/function/IntConsumer.html#)!:an`IntConsumer`accepting the mapped values |