public class StatisticSet
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The StatisticSet
data type describes the
StatisticValues
component of MetricDatum, and represents
a set of statistics that describes a specific metric.
Modifier and Type | Field and Description |
---|---|
private java.lang.Double |
maximum
The maximum value of the sample set.
|
private java.lang.Double |
minimum
The minimum value of the sample set.
|
private java.lang.Double |
sampleCount
The number of samples used for the statistic set.
|
private java.lang.Double |
sum
The sum of values for the sample set.
|
Constructor and Description |
---|
StatisticSet() |
Modifier and Type | Method and Description |
---|---|
StatisticSet |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getMaximum()
The maximum value of the sample set.
|
java.lang.Double |
getMinimum()
The minimum value of the sample set.
|
java.lang.Double |
getSampleCount()
The number of samples used for the statistic set.
|
java.lang.Double |
getSum()
The sum of values for the sample set.
|
int |
hashCode() |
void |
setMaximum(java.lang.Double maximum)
The maximum value of the sample set.
|
void |
setMinimum(java.lang.Double minimum)
The minimum value of the sample set.
|
void |
setSampleCount(java.lang.Double sampleCount)
The number of samples used for the statistic set.
|
void |
setSum(java.lang.Double sum)
The sum of values for the sample set.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StatisticSet |
withMaximum(java.lang.Double maximum)
The maximum value of the sample set.
|
StatisticSet |
withMinimum(java.lang.Double minimum)
The minimum value of the sample set.
|
StatisticSet |
withSampleCount(java.lang.Double sampleCount)
The number of samples used for the statistic set.
|
StatisticSet |
withSum(java.lang.Double sum)
The sum of values for the sample set.
|
private java.lang.Double sampleCount
The number of samples used for the statistic set.
private java.lang.Double sum
The sum of values for the sample set.
private java.lang.Double minimum
The minimum value of the sample set.
private java.lang.Double maximum
The maximum value of the sample set.
public void setSampleCount(java.lang.Double sampleCount)
The number of samples used for the statistic set.
sampleCount
- The number of samples used for the statistic set.public java.lang.Double getSampleCount()
The number of samples used for the statistic set.
public StatisticSet withSampleCount(java.lang.Double sampleCount)
The number of samples used for the statistic set.
sampleCount
- The number of samples used for the statistic set.public void setSum(java.lang.Double sum)
The sum of values for the sample set.
sum
- The sum of values for the sample set.public java.lang.Double getSum()
The sum of values for the sample set.
public StatisticSet withSum(java.lang.Double sum)
The sum of values for the sample set.
sum
- The sum of values for the sample set.public void setMinimum(java.lang.Double minimum)
The minimum value of the sample set.
minimum
- The minimum value of the sample set.public java.lang.Double getMinimum()
The minimum value of the sample set.
public StatisticSet withMinimum(java.lang.Double minimum)
The minimum value of the sample set.
minimum
- The minimum value of the sample set.public void setMaximum(java.lang.Double maximum)
The maximum value of the sample set.
maximum
- The maximum value of the sample set.public java.lang.Double getMaximum()
The maximum value of the sample set.
public StatisticSet withMaximum(java.lang.Double maximum)
The maximum value of the sample set.
maximum
- The maximum value of the sample set.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StatisticSet clone()
clone
in class java.lang.Object