Constructor and Description |
---|
ThrowingMemoizer() |
Modifier and Type | Method and Description |
---|---|
T |
get(ThrowingSupplier<T,E> delegate,
Class<E> exceptionClass)
Get the value and memoize the result.
|
public T get(ThrowingSupplier<T,E> delegate, Class<E> exceptionClass) throws E extends Exception
delegate
- delegate for constructing the valueE extends Exception