Interface TSupplier<T>
- Type Parameters:
T- The return type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This is a functional interface that can be used to replace Supplier and throw exceptions.
-
Method Summary
-
Method Details
-
get
Gets a result and throws an exception.- Returns:
- The return value
- Throws:
Throwable- The exception
-