Interface Int2IntBiConsumer
- All Superinterfaces:
BiConsumer<Integer,Integer>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface for a
BiConsumer with two primitive integer parameters.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidDeprecated.voidacceptInt(int left, int right) Performs this operation on the given parameters.default BiConsumer<Integer,Integer> andThen(BiConsumer<? super Integer, ? super Integer> after) Deprecated.default Int2IntBiConsumerandThenInt(Int2IntBiConsumer after)
-
Method Details
-
acceptInt
void acceptInt(int left, int right) Performs this operation on the given parameters.- Parameters:
left- the first input argumentright- the second input argument
-
accept
Deprecated.- Specified by:
acceptin interfaceBiConsumer<Integer,Integer>
-
andThenInt
- Parameters:
after- the operation to perform after this operation- Returns:
- a composed
Int2IntBiConsumerthat performs in sequence this operation followed by theafteroperation
-
andThen
@Deprecated default BiConsumer<Integer,Integer> andThen(BiConsumer<? super Integer, ? super Integer> after) Deprecated.- Specified by:
andThenin interfaceBiConsumer<Integer,Integer>
-