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

Method getDouble

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

Reads a number from the input stream and parses it as a double

()

Source from the content-addressed store, hash-verified

1206
1207 /** Reads a number from the input stream and parses it as a double */
1208 public double getDouble() throws IOException {
1209 return Double.parseDouble(getNumberChars().toString());
1210 }
1211
1212 /**
1213 * Returns the characters of a JSON numeric value.

Callers 3

testCorruptionMethod · 0.95
initParamsMethod · 0.45
parseMethod · 0.45

Calls 3

getNumberCharsMethod · 0.95
parseDoubleMethod · 0.80
toStringMethod · 0.65

Tested by 2

testCorruptionMethod · 0.76
parseMethod · 0.36