Module io.smallrye.common.function
Package io.smallrye.common.function
Interface ExceptionToIntBiFunction<T,U,E extends Exception>
- Type Parameters:
T- the first argument typeU- the second argument typeE- the exception type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A two-argument function which can throw an exception.
-
Method Summary
Modifier and TypeMethodDescriptiondefault <R> ExceptionBiFunction<T, U, R, E> andThen(ExceptionIntFunction<R, E> after) Returns a function which applies the result of this function to the given function.default <R> ExceptionBiFunction<T, U, R, E> andThen(ExceptionLongFunction<R, E> after) Returns a function which applies the result of this function to the given function.intApply this function to the given arguments.
-
Method Details
-
apply
Apply this function to the given arguments.- Parameters:
t- the first argumentu- the second argument- Returns:
- the function result
- Throws:
E- if an exception occurs
-
andThen
Returns a function which applies the result of this function to the given function.- Type Parameters:
R- the final result type- Parameters:
after- the next function (must not benull)- Returns:
- a function which applies the result of this function to the given function
-
andThen
Returns a function which applies the result of this function to the given function.- Type Parameters:
R- the final result type- Parameters:
after- the next function (must not benull)- Returns:
- a function which applies the result of this function to the given function
-