- All Superinterfaces:
- java.io.Serializable
- 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 Function2<T1,T2,R>
extends java.io.Serializable
A two-argument function that takes arguments of type T1 and T2 and returns an R.