T - The return type of the lambda function.E - The type of exception thrown by the lambda function.@FunctionalInterface public interface CheckedSupplier<T,E extends Exception> extends Supplier<T>
| Modifier and Type | Method and Description |
|---|---|
default T |
get() |
T |
getAndThrow()
Gets a result.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.