MCPcopy Create free account
hub / github.com/apache/solr / getLong

Method getLong

solr/solrj/src/java/org/noggit/JSONParser.java:1202–1205  ·  view source on GitHub ↗

Reads a number from the input stream and parses it as a long, only if the value will in fact fit into a signed 64-bit integer.

()

Source from the content-addressed store, hash-verified

1200 * fit into a signed 64-bit integer.
1201 */
1202 public long getLong() throws IOException {
1203 goTo(LONG);
1204 return lval;
1205 }
1206
1207 /** Reads a number from the input stream and parses it as a double */
1208 public double getDouble() throws IOException {

Callers 8

testCorruptionMethod · 0.95
testNumbersMethod · 0.95
testAPIMethod · 0.95
getValueMethod · 0.45
testCountWithFiltersMethod · 0.45
testCountDistinctMethod · 0.45
BaseBenchStateClass · 0.45
parseMethod · 0.45

Calls 1

goToMethod · 0.95

Tested by 6

testCorruptionMethod · 0.76
testNumbersMethod · 0.76
testAPIMethod · 0.76
testCountWithFiltersMethod · 0.36
testCountDistinctMethod · 0.36
parseMethod · 0.36