# IntStream.IntMapMultiConsumer

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

# IntStream.IntMapMultiConsumer

`
public
static


interface
IntStream.IntMapMultiConsumer
`  
`


`

|------------------------------------------------|
| java.util.stream.IntStream.IntMapMultiConsumer |

<br />

*** ** * ** ***

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/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/java/util/function/package-summary.html)whose functional method is[accept(int, java.util.function.IntConsumer)](https://developer.android.com/reference/java/util/stream/IntStream.IntMapMultiConsumer#accept(int,%20java.util.function.IntConsumer)).  
**See also:**

- [IntStream.mapMulti(IntMapMultiConsumer)](https://developer.android.com/reference/java/util/stream/IntStream#mapMulti(java.util.stream.IntStream.IntMapMultiConsumer))

## Summary

|                                                                                                                                                                                ### Public methods                                                                                                                                                                                ||
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract void` | ` `[accept](https://developer.android.com/reference/java/util/stream/IntStream.IntMapMultiConsumer#accept(int,%20java.util.function.IntConsumer))`(int value, `[IntConsumer](https://developer.android.com/reference/java/util/function/IntConsumer)` ic) ` 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#ApiLevels)  

```
public abstract void accept (int value, 
                IntConsumer ic)
```

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

<br />

|                                Parameters                                 ||
|---------|------------------------------------------------------------------|
| `value` | `int`: the int value coming from upstream <br />                 |
| `ic`    | `IntConsumer`: an`IntConsumer`accepting the mapped values <br /> |