Interface ThrowingSupplier<R,T extends Throwable>
- Type Parameters:
R
- The output result type to be suppliedT
- The type ofThrowable
thrown by the supplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A better version of Java's
Supplier
interface that
allows for the suppliers to throw whatever Throwable
is specified.- Version:
- 0.1-Alpha-SNAPSHOT
- Author:
- Logan Ferree (Tadukoo)
-
Method Summary
-
Method Details
-
get
Returns a result.- Returns:
- A result
- Throws:
T
- Determined by the supplier, not required
-