Interface ThrowingSupplier<R,​E extends java.lang.Throwable>

  • 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 ThrowingSupplier<R,​E extends java.lang.Throwable>
    Functional interface that mirrors the Supplier interface, but allows for an exception to be thrown.
    Author:
    oyving
    • Method Detail

      • get

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