LongSummaryStatistics Constructors
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.
Overloads
LongSummaryStatistics() |
Constructs an empty instance with zero count, zero sum,
|
LongSummaryStatistics(IntPtr, JniHandleOwnership) | |
LongSummaryStatistics(Int64, Int64, Int64, Int64) |
Constructs a non-empty instance with the specified |
LongSummaryStatistics()
Constructs an empty instance with zero count, zero sum,
Long.MAX_VALUE
min, Long.MIN_VALUE
max and zero
average.
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public LongSummaryStatistics ();
- Attributes
Remarks
Constructs an empty instance with zero count, zero sum, Long.MAX_VALUE
min, Long.MIN_VALUE
max and zero average.
Java documentation for java.util.LongSummaryStatistics.LongSummaryStatistics()
.
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
LongSummaryStatistics(IntPtr, JniHandleOwnership)
protected LongSummaryStatistics (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.LongSummaryStatistics : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.LongSummaryStatistics
Parameters
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
Remarks
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
LongSummaryStatistics(Int64, Int64, Int64, Int64)
Constructs a non-empty instance with the specified count
,
min
, max
, and 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
Parameters
- count
- Int64
the count of values
- min
- Int64
the minimum value
- max
- Int64
the maximum value
- sum
- Int64
the sum of all values
- Attributes
Remarks
Constructs a non-empty instance with the specified count
, min
, max
, and sum
.
If count
is zero then the remaining arguments are ignored and an empty instance is constructed.
If the arguments are inconsistent then an IllegalArgumentException
is thrown. The necessary consistent argument conditions are: <ul> <li>count >= 0
</li> <li>min <= max
</li> </ul>
Added in 10.
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.