Class CheckedHelper
java.lang.Object
ch.tocco.nice2.toolbox.api.functional.CheckedHelper
allows easy wrapping of regular function interfaces into our own that handle exceptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> CheckedCallable<T> callable(CheckedCallable<T> callable) static <T> CheckedConsumer<T> consumer(CheckedConsumer<T> consumer) static <T,U, R> CheckedBiFunction <T, U, R> function(CheckedBiFunction<T, U, R> function) static <T,R> CheckedFunction <T, R> function(CheckedFunction<T, R> function) static <T> CheckedPredicate<T> predicate(CheckedPredicate<T> predicate) static CheckedRunnablerunnable(CheckedRunnable runnable) static <T> CheckedSupplier<T> supplier(CheckedSupplier<T> supplier)
-
Method Details
-
function
-
consumer
-
function
-
predicate
-
runnable
-
supplier
-
callable
-