共用方式為


ILongUnaryOperator.Compose(ILongUnaryOperator) Method

Definition

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

[Android.Runtime.Register("compose", "(Ljava/util/function/LongUnaryOperator;)Ljava/util/function/LongUnaryOperator;", "GetCompose_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? Compose (Java.Util.Functions.ILongUnaryOperator? before);
[<Android.Runtime.Register("compose", "(Ljava/util/function/LongUnaryOperator;)Ljava/util/function/LongUnaryOperator;", "GetCompose_Ljava_util_function_LongUnaryOperator_Handler:Java.Util.Functions.ILongUnaryOperator, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Compose : Java.Util.Functions.ILongUnaryOperator -> Java.Util.Functions.ILongUnaryOperator
override this.Compose : Java.Util.Functions.ILongUnaryOperator -> Java.Util.Functions.ILongUnaryOperator

Parameters

before
ILongUnaryOperator

the operator to apply before this operator is applied

Returns

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

Attributes

Remarks

Returns a composed operator that first applies the before operator to its input, and then applies this 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.compose(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