DoubleSummaryStatistics Constructors

Definition

Overloads

DoubleSummaryStatistics()

Constructs an empty instance with zero count, zero sum, Double.POSITIVE_INFINITY min, Double.NEGATIVE_INFINITY max and zero average.

DoubleSummaryStatistics(IntPtr, JniHandleOwnership)
DoubleSummaryStatistics(Int64, Double, Double, Double)

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

DoubleSummaryStatistics()

Constructs an empty instance with zero count, zero sum, Double.POSITIVE_INFINITY min, Double.NEGATIVE_INFINITY max and zero average.

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

Remarks

Constructs an empty instance with zero count, zero sum, Double.POSITIVE_INFINITY min, Double.NEGATIVE_INFINITY max and zero average.

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

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

DoubleSummaryStatistics(IntPtr, JniHandleOwnership)

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

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

DoubleSummaryStatistics(Int64, Double, Double, Double)

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

[Android.Runtime.Register(".ctor", "(JDDD)V", "", ApiSince=34)]
public DoubleSummaryStatistics (long count, double min, double max, double sum);
[<Android.Runtime.Register(".ctor", "(JDDD)V", "", ApiSince=34)>]
new Java.Util.DoubleSummaryStatistics : int64 * double * double * double -> Java.Util.DoubleSummaryStatistics

Parameters

count
Int64

the count of values

min
Double

the minimum value

max
Double

the maximum value

sum
Double

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 && !isNaN(sum)) || (isNaN(min) && isNaN(max) && isNaN(sum))</li> </ul>

Added in 10.

Java documentation for java.util.DoubleSummaryStatistics.DoubleSummaryStatistics(long, double, double, double).

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