Interface CheckedSupplier<T, E extends Exception>
- Type Parameters:
T- The type of results supplied by this supplier.E- The type of the exception thrown by the function.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a
Supplier that can throw an exception.-
Method Summary
-
Method Details
-
get
Returns the result of the method.- Throws:
E- An exception that occurred while performing the operation.
-