Compartilhar via


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

Parameters

before
IDoubleUnaryOperator

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.DoubleUnaryOperator.compose(java.util.function.DoubleUnaryOperator).

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