LongSummaryStatistics 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| LongSummaryStatistics() |
構造一個空實例,計數為零、和數為零、 |
| LongSummaryStatistics(IntPtr, JniHandleOwnership) | |
| LongSummaryStatistics(Int64, Int64, Int64, Int64) |
構造一個非空實例,包含指定的 |
LongSummaryStatistics()
構造一個空實例,計數為零、和數為零、 Long.MAX_VALUE 最小值、 Long.MIN_VALUE 最大值和平均值為零。
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public LongSummaryStatistics();
- 屬性
備註
構造一個空實例,計數為零、和數為零、 Long.MAX_VALUE 最小值、 Long.MIN_VALUE 最大值和平均值為零。
Java 文件 java.util.LongSummaryStatistics.LongSummaryStatistics()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
LongSummaryStatistics(IntPtr, JniHandleOwnership)
protected LongSummaryStatistics(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.LongSummaryStatistics : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.LongSummaryStatistics
參數
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
LongSummaryStatistics(Int64, Int64, Int64, Int64)
構造一個非空實例,包含指定的 count、 min、 max和 sum。
[Android.Runtime.Register(".ctor", "(JJJJ)V", "", ApiSince=33)]
public LongSummaryStatistics(long count, long min, long max, long sum);
[<Android.Runtime.Register(".ctor", "(JJJJ)V", "", ApiSince=33)>]
new Java.Util.LongSummaryStatistics : int64 * int64 * int64 * int64 -> Java.Util.LongSummaryStatistics
參數
- count
- Int64
數值計數
- min
- Int64
最小值
- max
- Int64
最大值
- sum
- Int64
所有值的總和
- 屬性
備註
構造一個非空實例,包含指定的 count、 min、 max和 sum。
若 count 為零,則忽略其餘參數,建構一個空實例。
如果論證不一致,則會拋出 a IllegalArgumentException 。 必要的一致論證條件為:<ul<>li<>count >= 0/li li><min <= max/li<>/ul><>
加了10。
Java 文件 java.util.LongSummaryStatistics.LongSummaryStatistics(long, long, long, long)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。