Interface TwoParameterFunction<T,U,R>

Type Parameters:
T - The first parameter of the function.
U - The second parameter of the function.
R - The return value of the function.
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 TwoParameterFunction<T,U,R>
The TwoParameterFunction class defines a lambda expression function that takes two parameters and returns a value.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T one, U two)
    Apply invokes the function this lambda function represents.
  • Method Details

    • apply

      R apply(T one, U two)
      Apply invokes the function this lambda function represents.
      Parameters:
      one - The first parameter of the function.
      two - The second parameter of the function.
      Returns:
      The return value of the function.