Interface ThrowingSupplier<T>
- Type Parameters:
T
- result type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Like
Supplier<T>
but allows checked exceptions.-
Method Summary
-
Method Details
-
get
Supplies a value.- Returns:
- result
- Throws:
Exception
- if any error occurs
-