Interface CheckedSupplier<R>

  • Type Parameters:
    R - the type of the result
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface CheckedSupplier<R>
    A checked version of Supplier.

    This is intended to be used with Unchecked.

    • Method Detail

      • get

        R get()
        throws Throwable
        Gets a result.
        a result
        Throwable - if an error occurs