@FunctionalInterface
public interface ThrowingSupplier<T,E extends java.lang.Exception>
Callable
would be to unspecific and
using Supplier
would require extra handling of checked exceptionsModifier and Type | Method | Description |
---|---|---|
T |
get() |
Gets a result.
|