Interface BiConsumer<T,U>
- Type Parameters:
T- the first input typeU- the second input type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An operation on two values that answers nothing.
-
Method Summary
Modifier and TypeMethodDescriptionvoidPerforms this operation.default BiConsumer<T, U> andThen(BiConsumer<? super T, ? super U> after) This operation followed byafter, both given the same values.
-
Method Details
-
accept
-
andThen
This operation followed byafter, both given the same values. If this operation throws,afterdoes not run.- Parameters:
after- the operation to run next- Returns:
- the composed operation
-