Udostępnij za pośrednictwem


IBiConsumer.AndThen(IBiConsumer) Method

Definition

Returns a composed BiConsumer that performs, in sequence, this operation followed by the after operation.

[Android.Runtime.Register("andThen", "(Ljava/util/function/BiConsumer;)Ljava/util/function/BiConsumer;", "GetAndThen_Ljava_util_function_BiConsumer_Handler:Java.Util.Functions.IBiConsumer, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public virtual Java.Util.Functions.IBiConsumer? AndThen (Java.Util.Functions.IBiConsumer? after);
[<Android.Runtime.Register("andThen", "(Ljava/util/function/BiConsumer;)Ljava/util/function/BiConsumer;", "GetAndThen_Ljava_util_function_BiConsumer_Handler:Java.Util.Functions.IBiConsumer, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member AndThen : Java.Util.Functions.IBiConsumer -> Java.Util.Functions.IBiConsumer
override this.AndThen : Java.Util.Functions.IBiConsumer -> Java.Util.Functions.IBiConsumer

Parameters

after
IBiConsumer

the operation to perform after this operation

Returns

a composed BiConsumer that performs in sequence this operation followed by the after operation

Attributes

Remarks

Returns a composed BiConsumer that performs, in sequence, this operation followed by the after operation. If performing either operation throws an exception, it is relayed to the caller of the composed operation. If performing this operation throws an exception, the after operation will not be performed.

Java documentation for java.util.function.BiConsumer.andThen(java.util.function.BiConsumer<? super T, ? super U>).

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