Interface IOSupplier<T>

  • Type Parameters:
    T - the type of the supplied value
    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>
    Represents a supplier that may throw an IOException.

    This is a functional interface that can be used as a safety wrapper for operations that supply values and may trigger I/O exceptions.

    Since:
    4.0.0
    Author:
    Dmytro Nosan
    See Also:
    wrap(Supplier)