T
- the return type of the operations.@FunctionalInterface
public interface IOSupplier<T>
Supplier
but throws IOException
.Modifier and Type | Method and Description |
---|---|
T |
get()
Gets a result.
|
T get() throws java.io.IOException
java.io.IOException
- if an IO error occurs whilst supplying the value.