T - the type of the item to getE - the type of exception which may be thrownpublic interface ThrowingSupplier<T,E extends java.lang.Exception>
Supplier but parameterized over an exception type which is allowed
to be thrown by get().| Modifier and Type | Method and Description |
|---|---|
T |
get() |