Package org.wildfly.common.function
Interface ExceptionToIntFunction<T,E extends java.lang.Exception>
-
- 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 ExceptionToIntFunction<T,E extends java.lang.Exception>
A two-argument function which can throw an exception.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <R> ExceptionFunction<T,R,E>
andThen(ExceptionIntFunction<? extends R,? extends E> after)
default <R> ExceptionFunction<T,R,E>
andThen(ExceptionLongFunction<? extends R,? extends E> after)
int
apply(T t)
Apply this function to the given arguments.default <T2> ExceptionToIntFunction<T2,E>
compose(ExceptionFunction<? super T2,? extends T,? extends E> before)
-
-
-
Method Detail
-
apply
int apply(T t) throws E extends java.lang.Exception
Apply this function to the given arguments.
-
andThen
default <R> ExceptionFunction<T,R,E> andThen(ExceptionIntFunction<? extends R,? extends E> after)
-
andThen
default <R> ExceptionFunction<T,R,E> andThen(ExceptionLongFunction<? extends R,? extends E> after)
-
compose
default <T2> ExceptionToIntFunction<T2,E> compose(ExceptionFunction<? super T2,? extends T,? extends E> before)
-
-