Package org.ethelred.util.function
Interface CheckedSupplier<T,E extends Throwable>
-
- Type Parameters:
T- The type returned by the operationE- A checked exception type that is thrown by the operation
- 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 CheckedSupplier<T,E extends Throwable>
Checked wrapper for a Supplier.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Supplier<T>asUnchecked()Tget()static <TT,EE extends Throwable>
Supplier<TT>unchecked(CheckedSupplier<TT,EE> supplier)
-