IntSummaryStatistics 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| IntSummaryStatistics() |
构造一个空实例,其中包含零计数、零总和、 |
| IntSummaryStatistics(IntPtr, JniHandleOwnership) |
创建表示现有Java对象的托管实例。 |
| IntSummaryStatistics(Int64, Int32, Int32, Int64) |
使用指定的 |
IntSummaryStatistics()
构造一个空实例,其中包含零计数、零总和、 Integer.MAX_VALUE 最小值、 Integer.MIN_VALUE 最大值和零平均值。
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public IntSummaryStatistics();
- 特性
注解
构造一个空实例,其中包含零计数、零总和、 Integer.MAX_VALUE 最小值、 Integer.MIN_VALUE 最大值和零平均值。
Java文档java.util.IntSummaryStatistics.IntSummaryStatistics()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
IntSummaryStatistics(IntPtr, JniHandleOwnership)
创建表示现有Java对象的托管实例。
protected IntSummaryStatistics(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.IntSummaryStatistics : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.IntSummaryStatistics
参数
- javaReference
-
IntPtr
nativeint
对Java对象的 JNI 引用。
- transfer
- JniHandleOwnership
指定 JNI 引用的所有权是否传输到此实例。
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
IntSummaryStatistics(Int64, Int32, Int32, Int64)
使用指定的 count、 min、 max和 sum构造非空实例。
[Android.Runtime.Register(".ctor", "(JIIJ)V", "", ApiSince=33)]
public IntSummaryStatistics(long count, int min, int max, long sum);
[<Android.Runtime.Register(".ctor", "(JIIJ)V", "", ApiSince=33)>]
new Java.Util.IntSummaryStatistics : int64 * int * int * int64 -> Java.Util.IntSummaryStatistics
参数
- count
- Int64
值的计数
- min
- Int32
最小值
- max
- Int32
最大值
- sum
- Int64
所有值的总和
- 特性
注解
使用指定的 count、 min、 max和 sum构造非空实例。
如果 count 为零,则忽略其余参数并构造空实例。
如果参数不一致,则会引发参数 IllegalArgumentException 。 必要的一致参数条件为: <ul><li>count >= 0</li><>min <= max</li/ul><>
已在 10 中添加。
Java文档java.util.IntSummaryStatistics.IntSummaryStatistics(long, int, int, long)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。