IBiFunction.AndThen(IFunction) Method

Definition

Returns a composed function that first applies this function to its input, and then applies the after function to the result.

[Android.Runtime.Register("andThen", "(Ljava/util/function/Function;)Ljava/util/function/BiFunction;", "GetAndThen_Ljava_util_function_Function_Handler:Java.Util.Functions.IBiFunction, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "V" })]
public virtual Java.Util.Functions.IBiFunction? AndThen (Java.Util.Functions.IFunction? after);
[<Android.Runtime.Register("andThen", "(Ljava/util/function/Function;)Ljava/util/function/BiFunction;", "GetAndThen_Ljava_util_function_Function_Handler:Java.Util.Functions.IBiFunction, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "V" })>]
abstract member AndThen : Java.Util.Functions.IFunction -> Java.Util.Functions.IBiFunction
override this.AndThen : Java.Util.Functions.IFunction -> Java.Util.Functions.IBiFunction

Parameters

after
IFunction

the function to apply after this function is applied

Returns

a composed function that first applies this function and then applies the after function

Attributes

Remarks

Returns a composed function that first applies this function to its input, and then applies the after function to the result. If evaluation of either function throws an exception, it is relayed to the caller of the composed function.

Java documentation for java.util.function.BiFunction.andThen(java.util.function.Function<? super R, ? extends V>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to