Class Unchecked
- java.lang.Object
-
- de.codecentric.reedelk.runtime.api.commons.Unchecked
-
public class Unchecked extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T,E extends Exception>
Consumer<T>consumer(ConsumerWithException<T,E> consumerThrowingCheckedException)static <T,E extends Exception>
Consumer<T>consumer(ConsumerWithException<T,E> consumerThrowingCheckedException, BiFunction<T,Exception,? extends RuntimeException> exceptionSupplier)static <T,R,E extends Exception>
Function<T,R>function(FunctionWithException<T,R,E> functionThrowingCheckedException)static <T,R,E extends Exception>
Function<T,R>function(FunctionWithException<T,R,E> functionThrowingCheckedException, BiFunction<T,Exception,? extends RuntimeException> exceptionSupplier)
-
-
-
Method Detail
-
function
public static <T,R,E extends Exception> Function<T,R> function(FunctionWithException<T,R,E> functionThrowingCheckedException)
-
function
public static <T,R,E extends Exception> Function<T,R> function(FunctionWithException<T,R,E> functionThrowingCheckedException, BiFunction<T,Exception,? extends RuntimeException> exceptionSupplier)
-
consumer
public static <T,E extends Exception> Consumer<T> consumer(ConsumerWithException<T,E> consumerThrowingCheckedException)
-
consumer
public static <T,E extends Exception> Consumer<T> consumer(ConsumerWithException<T,E> consumerThrowingCheckedException, BiFunction<T,Exception,? extends RuntimeException> exceptionSupplier)
-
-