Package pro.taskana.common.internal.util
Interface CheckedFunction<T,R,E extends Throwable>
-
- 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 CheckedFunction<T,R,E extends Throwable>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(T t)static <T,R>
Function<T,R>wrap(CheckedFunction<T,R,Throwable> checkedFunction)static <T,R>
Function<T,R>wrapExceptFor(CheckedFunction<T,R,Throwable> checkedFunction, Class<? extends RuntimeException> ignore)
-
-
-
Method Detail
-
wrap
static <T,R> Function<T,R> wrap(CheckedFunction<T,R,Throwable> checkedFunction)
-
wrapExceptFor
static <T,R> Function<T,R> wrapExceptFor(CheckedFunction<T,R,Throwable> checkedFunction, Class<? extends RuntimeException> ignore)
-
-