Interface ThrowingTriFunction<T,​U,​S,​R,​E extends java.lang.Exception>

  • Type Parameters:
    T - the apply methods first argument type
    U - the apply methods second argument type
    S - the apply methods third argument type
    R - the type of the result of the function
    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 ThrowingTriFunction<T,​U,​S,​R,​E extends java.lang.Exception>
    This interface is similar to the java.util interface ThrowingBiFunction. Difference is, that it allows to pass to the apply() method one more parameter.
    • Method Detail

      • apply

        R apply​(T t,
                U u,
                S s)
         throws E extends java.lang.Exception
        Applies this function to the given arguments.
        Parameters:
        t - the first function argument
        u - the second function argument
        s - the third function argument
        Returns:
        the function result
        Throws:
        E - on error
        E extends java.lang.Exception