Share via


ILongUnaryOperator.AndThen(ILongUnaryOperator) Method

Definition

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

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

Parameters

after
ILongUnaryOperator

the operator to apply after this operator is applied

Returns

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

Attributes

Remarks

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

Java documentation for java.util.function.LongUnaryOperator.andThen(java.util.function.LongUnaryOperator).

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