Freigeben über


DoubleUnaryOperator.Identity Method

Definition

Caution

Use 'Java.Util.Functions.IDoubleUnaryOperator.Identity'. This class will be removed in a future release.

Returns a unary operator that always returns its input argument.

[Android.Runtime.Register("identity", "()Ljava/util/function/DoubleUnaryOperator;", "", ApiSince=24)]
[System.Obsolete("Use 'Java.Util.Functions.IDoubleUnaryOperator.Identity'. This class will be removed in a future release.")]
public static Java.Util.Functions.IDoubleUnaryOperator? Identity ();
[<Android.Runtime.Register("identity", "()Ljava/util/function/DoubleUnaryOperator;", "", ApiSince=24)>]
[<System.Obsolete("Use 'Java.Util.Functions.IDoubleUnaryOperator.Identity'. This class will be removed in a future release.")>]
static member Identity : unit -> Java.Util.Functions.IDoubleUnaryOperator

Returns

a unary operator that always returns its input argument

Attributes

Remarks

Returns a unary operator that always returns its input argument.

Java documentation for java.util.function.DoubleUnaryOperator.identity().

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