T - The type of the value to supply@FunctionalInterface
public interface ThrowingSupplier<T>
Supplier but with the ability to throw an exception.| Modifier and Type | Method and Description |
|---|---|
T |
get()
Get the value.
|
T get() throws java.lang.Throwable
java.lang.Throwable - If an exception occurs