Interface TriFunction<T,U,V,W>

Type Parameters:
T - the type of the first input to the function
U - the type of the second input to the function
V - the type of the third input to the function
W - the type of the function result
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<T,U,V,W>
Represents a functional interface that takes three input arguments of types T, U, and V and produces a result of type W. This is a tri-arity specialization of a function, allowing operations on three inputs to produce a single output.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T t, U u, V v)
    Applies this function to the given arguments and produces a result.
  • Method Details

    • apply

      W apply(T t, U u, V v)
      Applies this function to the given arguments and produces a result.
      Parameters:
      t - the first input argument to the function
      u - the second input argument to the function
      v - the third input argument to the function
      Returns:
      the result produced by applying this function to the given arguments