IntStream.IntMapMultiConsumer

public static interface IntStream.IntMapMultiConsumer

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 to replace an int value with zero or more int values.

This is a functional interface whose functional method is accept(int, java.util.function.IntConsumer).

Summary

Public methods

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.

Public methods

accept

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.

Parameters
value int: the int value coming from upstream

ic IntConsumer: an IntConsumer accepting the mapped values