Interface CheckedSupplier<T, E extends Exception>
- Type Parameters:
T- the type of result supplied.E- the type of exceptionget()may throw.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
Supplier whose get() may throw a checked exception.-
Method Summary
-
Method Details
-
get
- Throws:
E
-