Package org.primefaces.util
Interface Callbacks.FailableBiConsumer<T,U>
- Type Parameters:
T- The type of the first argument.U- The type of the second argument.
- Enclosing class:
- Callbacks
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for a two-argument consumer that can throw an IOException.
-
Method Summary
Modifier and TypeMethodDescriptionvoidPerforms the operation on the given arguments.default Callbacks.FailableBiConsumer<T,U> andThen(Callbacks.FailableBiConsumer<? super T, ? super U> after) Returns a composed IOBiConsumer that performs, in sequence, this operation followed by the after operation.
-
Method Details
-
accept
Performs the operation on the given arguments.- Parameters:
t- The first input argument.u- The second input argument.- Throws:
IOException- If an I/O error occurs.
-
andThen
default Callbacks.FailableBiConsumer<T,U> andThen(Callbacks.FailableBiConsumer<? super T, ? super U> after) throws IOExceptionReturns a composed IOBiConsumer that performs, in sequence, this operation followed by the after operation.- Parameters:
after- The operation to perform after this operation.- Returns:
- A composed IOBiConsumer that performs the operations sequentially.
- Throws:
IOException- If an I/O error occurs.
-