-  
       
- 参数类型
 -  
         
T- 函数的第一个参数的类型 -  
         
U- 函数的第二个参数的类型 -  
         
R- 函数结果的类型 
- All Known Subinterfaces:
 -  
         
BinaryOperator<T> 
- Functional Interface:
 - 这是一个功能接口,因此可以用作lambda表达式或方法引用的赋值目标。
 
@FunctionalInterface public interface BiFunction<T,U,R>
- 从以下版本开始:
 - 1.8
 - 另请参见:
 -  
         
Function 
 
-  
        
       
-  
             
方法详细信息
-  
andThen
default <V> BiFunction<T,U,V> andThen(Function<? super R,? extends V> after)
返回首先将此函数应用于其输入的after函数,然后将after函数应用于结果。 如果对任一函数的求值抛出异常,则将其转发给组合函数的调用者。- 参数类型
 -  
              
V-after函数的输出类型,以及组合函数的输出类型 - 参数
 -  
              
after- 应用此功能后应用的功能 - 结果
 - 
               一个组合函数,首先应用此函数,然后应用 
              
after函数 - 异常
 -  
              
NullPointerException- if after is null 
 
 -  
 
 -