Represents an operation that accepts a single {@code int}-valued argument and returns no result. This is the primitive type specialization of {@link Consumer} for {@code int}. Unlike most other functional interfaces, {@code IntConsumer} is expected to operate via side-effects.
This is a functional interface whose functional method is {@link #accept(int)}.
@see Consumer
@since 1.8