MCPcopy Index your code
hub / github.com/processing/processing / remove

Method remove

core/src/processing/data/JSONArray.java:1069–1073  ·  view source on GitHub ↗

Remove an index and close the hole. @webref jsonarray:method @brief Removes an element @param index the index value of the element to be removed @return The value that was associated with the index, or null if there was no value. @see JSONArray#size() @see JSONArray#append(String)

(int index)

Source from the content-addressed store, hash-verified

1067 * @see JSONArray#append(String)
1068 */
1069 public Object remove(int index) {
1070 Object o = this.opt(index);
1071 this.myArrayList.remove(index);
1072 return o;
1073 }
1074
1075
1076// /**

Callers

nothing calls this directly

Calls 1

optMethod · 0.95

Tested by

no test coverage detected