## Uses of Interface
java.util.function.IntConsumer

Packages that use IntConsumer
java.util: Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
java.util.function: Functional interfaces provide target types for lambda expressions and method references.
java.util.stream: Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.

### Uses of IntConsumer in java.util

Classes in java.util that implement IntConsumer
`class` `IntSummaryStatistics` A state object for collecting statistics such as count, min, max, sum, and average.
`class` `LongSummaryStatistics` A state object for collecting statistics such as count, min, max, sum, and average.

Methods in java.util with parameters of type IntConsumer
`default void` PrimitiveIterator.OfInt.`forEachRemaining(IntConsumer action)` Performs the given action for each remaining element until all elements have been processed or the action throws an exception.
`default void` Spliterator.OfInt.`forEachRemaining(IntConsumer action)`
`void` OptionalInt.`ifPresent(IntConsumer action)` If a value is present, performs the given action with the value, otherwise does nothing.
`void` OptionalInt.`ifPresentOrElse(IntConsumer action, Runnable emptyAction)` If a value is present, performs the given action with the value, otherwise performs the given empty-based action.
`boolean` Spliterator.OfInt.`tryAdvance(IntConsumer action)`

### Uses of IntConsumer in java.util.function

Methods in java.util.function that return IntConsumer
`default IntConsumer` IntConsumer.`andThen(IntConsumer after)` Returns a composed `IntConsumer` that performs, in sequence, this operation followed by the `after` operation.

Methods in java.util.function with parameters of type IntConsumer
`default IntConsumer` IntConsumer.`andThen(IntConsumer after)` Returns a composed `IntConsumer` that performs, in sequence, this operation followed by the `after` operation.

### Uses of IntConsumer in java.util.stream

Subinterfaces of IntConsumer in java.util.stream
`static interface` `IntStream.Builder` A mutable builder for an `IntStream`.

Methods in java.util.stream with parameters of type IntConsumer
`void` IntStream.`forEach(IntConsumer action)` Performs an action for each element of this stream.
`void` IntStream.`forEachOrdered(IntConsumer action)` Performs an action for each element of this stream, guaranteeing that each element is processed in encounter order for streams that have a defined encounter order.
`IntStream` IntStream.`peek(IntConsumer action)` Returns a stream consisting of the elements of this stream, additionally performing the provided action on each element as elements are consumed from the resulting stream.