Interface SupplierWithThrowable<R,​E extends Throwable>

  • Type Parameters:
    R - the generic type that is returned
    E - the element type that can be any 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 SupplierWithThrowable<R,​E extends Throwable>
    The Supplier FunctionalInterface with Throwable.
    Author:
    Loganathan Sekar
    • Method Detail

      • get

        R get()
        throws E extends Throwable
        Get expression.
        Returns:
        the return value
        Throws:
        E - the exception
        E extends Throwable