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, toString
public DoubleMetric(MetricDefinition metricDefinition, double value)
metricDefinition
- the definition of this metricvalue
- the double valuepublic String renderValue()
Metric
renderValue
in class Metric<Double>
public Double rawValue()
Metric
Copyright © 2016–2020. All rights reserved.