Interface FunctionThrows<T,​R,​E extends Throwable>

  • Type Parameters:
    T - the type of input
    R - the type of output
    E - the type of error
    All Known Subinterfaces:
    InputStreamFunction<R>
    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 FunctionThrows<T,​R,​E extends Throwable>
    A functional interface, equivalent to Function but that allows throwing Throwable
    • Method Detail

      • apply

        R apply​(T input)
         throws E extends Throwable
        Apply r.
        Parameters:
        input - the input
        Returns:
        the r
        Throws:
        E - the e
        E extends Throwable