UnaryOperator.Identity 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use 'Java.Util.Functions.IUnaryOperator.Identity'. This class will be removed in a future release.
返回一元运算符,该运算符始终返回其输入参数。
[Android.Runtime.Register("identity", "()Ljava/util/function/UnaryOperator;", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
[System.Obsolete("Use 'Java.Util.Functions.IUnaryOperator.Identity'. This class will be removed in a future release.")]
public static Java.Util.Functions.IUnaryOperator? Identity ();
[<Android.Runtime.Register("identity", "()Ljava/util/function/UnaryOperator;", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
[<System.Obsolete("Use 'Java.Util.Functions.IUnaryOperator.Identity'. This class will be removed in a future release.")>]
static member Identity : unit -> Java.Util.Functions.IUnaryOperator
返回
始终返回其输入参数的一元运算符
- 属性
注解
返回一元运算符,该运算符始终返回其输入参数。
适用于 . 的 java.util.function.UnaryOperator.identity()
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。