Interface BiFunction<T,​U,​R>


  • public interface BiFunction<T,​U,​R>
    Represents a function that accepts two arguments and produces a result. This is the two-arity specialization of Function for representing functions f(T, U) → R.
    See Also:
    Function
    • Method Detail

      • apply

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