IUnaryOperator.Identity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a unary operator that always returns its input argument.
[Android.Runtime.Register("identity", "()Ljava/util/function/UnaryOperator;", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Util.Functions.IUnaryOperator? Identity ();
[<Android.Runtime.Register("identity", "()Ljava/util/function/UnaryOperator;", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member Identity : unit -> Java.Util.Functions.IUnaryOperator
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.UnaryOperator.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.