T - the value type returned@FunctionalInterface public interface Supplier<T>
This interface was added to allow throwing any subclass of Throwables,
which is not directly possible with the Java standard Callable interface.
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Produces a value or throws an exception.
|