Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/OpenTSDB/opentsdb
/ longValue
Method
longValue
src/core/MutableDataPoint.java:115–121 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
113
}
114
115
@Override
116
public
long longValue() {
117
if
(is_integer) {
118
return
value;
119
}
120
throw
new
ClassCastException(
"Not a long in "
+ toString());
121
}
122
123
@Override
124
public
double doubleValue() {
Callers
6
testMutableDataPoint
Method · 0.95
testResetWithLongValue
Method · 0.95
testReset
Method · 0.95
testOfLongValue
Method · 0.95
testLongValue_castException
Method · 0.95
populateNextRate
Method · 0.95
Calls
1
toString
Method · 0.95
Tested by
5
testMutableDataPoint
Method · 0.76
testResetWithLongValue
Method · 0.76
testReset
Method · 0.76
testOfLongValue
Method · 0.76
testLongValue_castException
Method · 0.76