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 to Supplier but allowing an IOException to be thrown.
    • 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