public class DoubleMetric extends Metric<Double>
Metric representing a double value.metricDefinition| Constructor and Description |
|---|
DoubleMetric(MetricDefinition metricDefinition,
double value)
Constructor for a double metric.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
Double |
rawValue()
Return the raw value of this metric, e.g. used for calculations.
|
String |
renderValue()
Return the value of this metric that should be displayed in the UI.
|
getId, getMetricDefinition, toStringpublic DoubleMetric(MetricDefinition metricDefinition, double value)
metricDefinition - the definition of this metricvalue - the double valuepublic String renderValue()
MetricrenderValue in class Metric<Double>public Double rawValue()
MetricCopyright © 2016–2020. All rights reserved.