package saker.util.io.function
Represents a supplier of results which may throw an IOException.
This functional interface is similar to Supplier, but with the addition of declaring a checked IOException on the function.
TThe result type of the supplier.
public T | get() Gets a result. |
public static < | Converts the argument supplier to an IOSupplier. |
public static <T> IOSupplier<T> valueOf(Supplier<T> supplier )
Converts the argument supplier to an IOSupplier.
TThe generated type.
supplierThe supplier.
The converted IOSupplier.