@FunctionalInterface
public interface IntConsumer
extends java.util.function.Consumer<java.lang.Integer>, java.util.function.IntConsumer
| Modifier and Type | Method and Description |
|---|---|
void |
accept(int t)
Type-Specific function to reduce (un)boxing.
|
default void |
accept(java.lang.Integer t)
Deprecated.
Please use the corresponding type-specific function instead.
|
default IntConsumer |
andThen(java.util.function.Consumer<? super java.lang.Integer> after)
Deprecated.
Please use the corresponding type-specific function instead.
|
default IntConsumer |
andThen(IntConsumer after)
Type Specific sequencing method to reduce boxing/unboxing.
|
default IntConsumer |
andThen(java.util.function.IntConsumer after)
Deprecated.
Please use the corresponding type-specific function instead.
|
void accept(int t)
accept in interface java.util.function.IntConsumert - the input argumentdefault IntConsumer andThen(IntConsumer after)
after - a operation that should be performed afterwardsjava.lang.NullPointerException - if after is null@Deprecated default void accept(java.lang.Integer t)
This default implementation delegates to the corresponding type-specific function.
accept in interface java.util.function.Consumer<java.lang.Integer>@Deprecated default IntConsumer andThen(java.util.function.Consumer<? super java.lang.Integer> after)
This default implementation delegates to the corresponding type-specific function.
andThen in interface java.util.function.Consumer<java.lang.Integer>@Deprecated default IntConsumer andThen(java.util.function.IntConsumer after)
This default implementation delegates to the corresponding type-specific function.
andThen in interface java.util.function.IntConsumer