T - 函数的第一个参数的类型
U - 函数的第二个参数的类型
R - 函数结果的类型
@FunctionalInterface public interface BiFunction<T,U,R>
Function
default <V> BiFunction<T,U,V> andThen(Function<? super R,? extends V> after)
after函数应用于结果。
如果任一函数的评估引发异常,则将其转发给组合函数的调用者。
V -
after函数的输出类型,以及组合函数
after - 应用此函数后应用的功能
after函数
NullPointerException - if after is null
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.