Package it.unimi.dsi.fastutil.ints
Interface IntConsumer
-
- All Superinterfaces:
java.util.function.Consumer<java.lang.Integer>,java.util.function.IntConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IntConsumer extends java.util.function.Consumer<java.lang.Integer>, java.util.function.IntConsumerA type-specificConsumer; provides methods to consume a primitive type both as object and as primitive.- Since:
- 8.0.0
- See Also:
Consumer
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidaccept(java.lang.Integer t)Deprecated.Please use the corresponding type-specific method instead.default java.util.function.Consumer<java.lang.Integer>andThen(java.util.function.Consumer<? super java.lang.Integer> after)Deprecated.Please use the corresponding type-specific method instead.default IntConsumerandThen(java.util.function.IntConsumer after)
-
-
-
Method Detail
-
accept
@Deprecated default void accept(java.lang.Integer t)
Deprecated.Please use the corresponding type-specific method instead.- Specified by:
acceptin interfacejava.util.function.Consumer<java.lang.Integer>
-
andThen
default IntConsumer andThen(java.util.function.IntConsumer after)
- Specified by:
andThenin interfacejava.util.function.IntConsumer
-
andThen
@Deprecated default java.util.function.Consumer<java.lang.Integer> andThen(java.util.function.Consumer<? super java.lang.Integer> after)
Deprecated.Please use the corresponding type-specific method instead.- Specified by:
andThenin interfacejava.util.function.Consumer<java.lang.Integer>
-
-