Interface IOSupplier<T>
-
- Type Parameters:
T
- Type returned by the supplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IOSupplier<T>
Functional interface similar toSupplier
but allowing anIOException
to be thrown.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
get()
Get a result from the supplier.
-
-
-
Method Detail
-
get
T get() throws java.io.IOException
Get a result from the supplier.- Returns:
- a result
- Throws:
java.io.IOException
- if an I/O error occurs
-
-