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

# LongStream.LongMapMultiConsumer

` public static interface LongStream.LongMapMultiConsumer `   
` `

|---|
| java.util.stream.LongStream.LongMapMultiConsumer |

<br />

*** ** * ** ***

Represents an operation that accepts a `long`-valued argument and a LongConsumer, and returns no result. This functional interface is used by `https://developer.android.com/reference/java/util/stream/LongStream#mapMulti(java.util.stream.LongStream.LongMapMultiConsumer)` to replace a long value with zero or more long values.

This is a [functional interface](https://developer.android.com/reference/java/util/function/package-summary.html) whose functional method is `https://developer.android.com/reference/java/util/stream/LongStream.LongMapMultiConsumer#accept(long,%20java.util.function.LongConsumer)`.
**See also:**

- `https://developer.android.com/reference/java/util/stream/LongStream#mapMulti(java.util.stream.LongStream.LongMapMultiConsumer)`

## Summary

| ### Public methods ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/java/util/stream/LongStream.LongMapMultiConsumer#accept(long,%20java.util.function.LongConsumer)(long value, https://developer.android.com/reference/java/util/function/LongConsumer lc) ` 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](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void accept (long value, 
                LongConsumer lc)
```

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

<br />

| Parameters ||
|---|---|
| `value` | `long`: the long value coming from upstream <br /> |
| `lc` | `LongConsumer`: a `LongConsumer` accepting the mapped values <br /> |