T
- 参数1的类型U
- 参数2的类型R
- 返回值类型@FunctionalInterface public interface SerBiFunction<T,U,R> extends BiFunction<T,U,R>, Serializable
Modifier and Type | Method and Description |
---|---|
default <V> SerBiFunction<T,U,V> |
andThen(SerFunction<? super R,? extends V> after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
default R |
apply(T t,
U u)
Applies this function to the given arguments.
|
R |
applying(T t,
U u)
Applies this function to the given arguments.
|
andThen
default R apply(T t, U u)
apply
in interface BiFunction<T,U,R>
t
- the first function argumentu
- the second function argumentdefault <V> SerBiFunction<T,U,V> andThen(SerFunction<? super R,? extends V> after)
after
function to the result.
If evaluation of either function throws an exception, it is relayed to
the caller of the composed function.V
- the type of output of the after
function, and of the
composed functionafter
- the function to apply after this function is appliedafter
functionNullPointerException
- if after is nullCopyright © 2025. All rights reserved.