MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / toDouble

Method toDouble

src/core/MutableDataPoint.java:131–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129 }
130
131 @Override
132 public double toDouble() {
133 if (is_integer) {
134 return value;
135 }
136 return Double.longBitsToDouble(value);
137 }
138
139 @Override
140 public String toString() {

Callers 7

testMutableDataPointMethod · 0.95
testResetMethod · 0.95
testOfDoubleValueMethod · 0.95
testOfLongValueMethod · 0.95
populateNextRateMethod · 0.95

Calls

no outgoing calls

Tested by 6

testMutableDataPointMethod · 0.76
testResetMethod · 0.76
testOfDoubleValueMethod · 0.76
testOfLongValueMethod · 0.76