Megosztás a következőn keresztül:


IIntConsumer.AndThen(IIntConsumer) Method

Definition

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

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

Parameters

after
IIntConsumer

the operation to perform after this operation

Returns

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

Attributes

Remarks

Returns a composed IntConsumer 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.IntConsumer.andThen(java.util.function.IntConsumer).

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