T - the type of the result supplied by this supplier@FunctionalInterface
public interface ThrowingSupplier<T>
This is a functional interface whose functional method is get().
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Gets a result or throws a throwable.
|
T get() throws java.lang.Throwable
java.lang.Throwable - if the result could not be computed