Interface Supplier<T,​E extends Exception>

  • Type Parameters:
    T - The type of object supplied.
    E - The type of exception thrown.
    All Known Implementing Classes:
    LazySupplier
    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 Supplier<T,​E extends Exception>
    A Supplier functional interface which can throw a checked Exception.
    • Method Detail

      • get

        T get()
        throws E extends Exception
        Supply a value.
        Returns:
        The value.
        Throws:
        E - An exception.
        E extends Exception