Interface FunctionalCheckedExceptionWrappers.FunctionWithException<T,​R>

  • Type Parameters:
    T - the type of the function argument
    R - the type of the function return value
    Enclosing class:
    FunctionalCheckedExceptionWrappers
    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 static interface FunctionalCheckedExceptionWrappers.FunctionWithException<T,​R>
    A variant of Function that might throw an Exception. This interface must not be directly used, it's defined to let the compiler infer functional equivalence.
    • Method Detail

      • apply

        R apply​(T t)
         throws java.lang.Exception
        Throws:
        java.lang.Exception