Interface TriFunction<S,​T,​U,​R>

  • Type Parameters:
    S - the type of the first argument
    T - the type of the second argument
    U - the type of the third argument
    R - the return 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 TriFunction<S,​T,​U,​R>
    Represents a function that accepts three arguments and produces a result.
    • Method Summary

      Modifier and Type Method Description
      R apply​(S s, T t, U u)
      Applies this function to the given arguments.
    • Method Detail

      • apply

        R apply​(S s,
                T t,
                U u)
        Applies this function to the given arguments.
        Parameters:
        s - the first function argument
        t - the second function argument
        u - the third function argument
        Returns:
        the result