Interface Function3<T1,T2,T3,R>

Type Parameters:
T1 - the type of the first argument to the function
T2 - the type of the second argument to the function
T3 - the type of the third argument to the function
R - the type of the result of the function
All Known Subinterfaces:
ToDoubleFunction3<T1,T2,T3>, ToIntFunction3<T1,T2,T3>, ToLongFunction3<T1,T2,T3>
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 Function3<T1,T2,T3,R>
Represents a function that accepts 3 arguments and produces a result.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T1 t1, T2 t2, T3 t3)
    Applies this function to the given arguments.
  • Method Details

    • apply

      @NonNull R apply(T1 t1, T2 t2, T3 t3)
      Applies this function to the given arguments.
      Parameters:
      t1 - the first function argument
      t2 - the second function argument
      t3 - the third function argument
      Returns:
      the function result