Interface CheckedSupplier<R,​E extends java.lang.Exception>

  • 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 CheckedSupplier<R,​E extends java.lang.Exception>
    A Supplier-like interface which allows throwing checked exceptions.
    • Method Summary

      Modifier and Type Method Description
      R get()  
    • Method Detail

      • get

        R get()
        throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception