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

Method doubleValue

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

Source from the content-addressed store, hash-verified

121 }
122
123 @Override
124 public double doubleValue() {
125 if (!is_integer) {
126 return Double.longBitsToDouble(value);
127 }
128 throw new ClassCastException("Not a double in " + toString());
129 }
130
131 @Override
132 public double toDouble() {

Callers 4

testResetMethod · 0.95
testOfDoubleValueMethod · 0.95

Calls 1

toStringMethod · 0.95

Tested by 4

testResetMethod · 0.76
testOfDoubleValueMethod · 0.76