Interface IntStream.IntMapMultiConsumer
- Enclosing interface:
IntStream
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
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, IntConsumer)
.
- Since:
- 16
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(int value, IntConsumer ic) Replaces the givenvalue
with zero or more values by feeding the mapped values to theic
consumer.
-
Method Details
-
accept
Replaces the givenvalue
with zero or more values by feeding the mapped values to theic
consumer.- Parameters:
value
- the int value coming from upstreamic
- anIntConsumer
accepting the mapped values
-