public static interface LongStream.LongMapMultiConsumer
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, LongConsumer)
.
LongStream.mapMulti(java8.util.stream.LongStream.LongMapMultiConsumer)
Modifier and Type | Method and Description |
---|---|
void |
accept(long value,
LongConsumer lc)
Replaces the given
value with zero or more values by feeding the mapped
values to the lc consumer. |
void accept(long value, LongConsumer lc)
value
with zero or more values by feeding the mapped
values to the lc
consumer.value
- the long value coming from upstreamlc
- a LongConsumer
accepting the mapped valuesCopyright © 2021. All rights reserved.