Package org.wildfly.common.function
Interface ExceptionLongFunction<R,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 ExceptionLongFunction<R,E extends java.lang.Exception>
A one-argument long integer 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 <R2> ExceptionLongFunction<R2,E>
andThen(ExceptionFunction<? super R,? extends R2,? extends E> after)
R
apply(long value)
Applies this function to the given arguments.default <T> ExceptionFunction<T,R,E>
compose(ExceptionToLongFunction<? super T,? extends E> before)
-
-
-
Method Detail
-
apply
R apply(long value) throws E extends java.lang.Exception
Applies this function to the given arguments.
-
andThen
default <R2> ExceptionLongFunction<R2,E> andThen(ExceptionFunction<? super R,? extends R2,? extends E> after)
-
compose
default <T> ExceptionFunction<T,R,E> compose(ExceptionToLongFunction<? super T,? extends E> before)
-
-