Package org.ethelred.util.function
"Checked" wrapper types for the common functional interfaces.
This makes it easier to use code that throws checked exceptions in lambdas.
-
Interface Summary Interface Description CheckedConsumer<T,E extends Throwable> Checked wrapper for a Consumer.CheckedFunction<T,R,E extends Throwable> Checked wrapper for a Function.CheckedRunnable<E extends Throwable> Checked wrapper for a RunnableCheckedSupplier<T,E extends Throwable> Checked wrapper for a Supplier. -
Class Summary Class Description Lazy<T> NOT THREAD SAFE - intended to be used in single request scope -
Exception Summary Exception Description WrappedCheckedException The exception thrown from the 'Checked' wrappers in this package.