MCPcopy Index your code
hub / github.com/VolmitSoftware/Adapt / length

Method length

src/main/java/com/volmit/adapt/util/JSONObject.java:1007–1009  ·  view source on GitHub ↗

Get the number of keys stored in the JSONObject. @return The number of keys in the JSONObject.

()

Source from the content-addressed store, hash-verified

1005 * @return The number of keys in the JSONObject.
1006 */
1007 public int length() {
1008 return this.map.size();
1009 }
1010
1011 /**
1012 * Produce a JSONArray containing the names of the elements of this

Callers 9

parseMethod · 0.95
parseMethod · 0.95
writeMethod · 0.95
doubleToStringMethod · 0.45
getNamesMethod · 0.45
numberToStringMethod · 0.45
quoteMethod · 0.45
populateMapMethod · 0.45
toJSONArrayMethod · 0.45

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected