T - the supplied type@FunctionalInterface public interface IOSupplier<T>
IOException.wrap(Supplier)| Modifier and Type | Method and Description |
|---|---|
T |
get()
Gets the supplied value.
|
static <T> IOSupplier<T> |
wrap(Supplier<? extends T> supplier)
Wrap a provided
Supplier into IOSupplier. |
static <T> IOSupplier<T> wrap(Supplier<? extends T> supplier)
Supplier into IOSupplier.T - the supplied typesupplier - the underlying supplierIOSupplierT get() throws IOException
IOException - an I/O error occursCopyright © 2023. All rights reserved.