Share via


IDoubleConsumer.AndThen(IDoubleConsumer) Method

Definition

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

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

Parameters

after
IDoubleConsumer

the operation to perform after this operation

Returns

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

Attributes

Remarks

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

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