T - the type of the first argument to the function
U - the type of the second argument to the function
R - the type of the result of the function
要实现这个接口方法,第一个T参数是左值,第二个U是右值,最后返回的是R
R apply(T t, U u)
参考:
https://docs.oracle.com/javase/8/docs/api/java/util/function/BiFunction.html