public class MetricStat extends MetricValue
Constructor and Description |
---|
MetricStat(double... values) |
MetricStat(MetricId metricId,
double... values)
Shorthand stats creation for test purposes
|
MetricStat(MetricId metricId,
org.apache.commons.math3.stat.descriptive.StatisticalSummary value)
Create normal statistics metric by reference
|
MetricStat(org.apache.commons.math3.stat.descriptive.StatisticalSummary value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
org.apache.commons.math3.stat.descriptive.StatisticalSummary |
getStat() |
int |
hashCode() |
boolean |
isStat() |
java.lang.String |
toString() |
getDouble, getLong, getMetricId, isDouble, isLong
public MetricStat(MetricId metricId, org.apache.commons.math3.stat.descriptive.StatisticalSummary value)
value
- public MetricStat(org.apache.commons.math3.stat.descriptive.StatisticalSummary value)
public MetricStat(MetricId metricId, double... values)
values
- public MetricStat(double... values)
public boolean isStat()
isStat
in class MetricValue
public org.apache.commons.math3.stat.descriptive.StatisticalSummary getStat()
getStat
in class MetricValue
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object