IntSummaryStatistics Constructors

Definition

Overloads

IntSummaryStatistics()

Constructs an empty instance with zero count, zero sum, Integer.MAX_VALUE min, Integer.MIN_VALUE max and zero average.

IntSummaryStatistics(IntPtr, JniHandleOwnership)
IntSummaryStatistics(Int64, Int32, Int32, Int64)

Constructs a non-empty instance with the specified count, min, max, and sum.

IntSummaryStatistics()

Constructs an empty instance with zero count, zero sum, Integer.MAX_VALUE min, Integer.MIN_VALUE max and zero average.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public IntSummaryStatistics ();
Attributes

Remarks

Constructs an empty instance with zero count, zero sum, Integer.MAX_VALUE min, Integer.MIN_VALUE max and zero average.

Java documentation for java.util.IntSummaryStatistics.IntSummaryStatistics().

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

IntSummaryStatistics(IntPtr, JniHandleOwnership)

protected IntSummaryStatistics (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.IntSummaryStatistics : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.IntSummaryStatistics

Parameters

javaReference
IntPtr

nativeint

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

IntSummaryStatistics(Int64, Int32, Int32, Int64)

Constructs a non-empty instance with the specified count, min, max, and 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

Parameters

count
Int64

the count of values

min
Int32

the minimum value

max
Int32

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.

Java documentation for java.util.IntSummaryStatistics.IntSummaryStatistics(long, int, int, long).

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