Interface FailableFunction<T,​R,​E extends Exception>

  • Type Parameters:
    T - The type of the input
    R - The type of the output
    E - The exception type
    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 FailableFunction<T,​R,​E extends Exception>
    A function that may fail with a checked exception during the execution of the apply(..) method.
    Author:
    Eyal Schneider