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

Method setBoolean

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

Put or replace a boolean value in the JSONArray. If the index is greater than the length of the JSONArray, then null elements will be added as necessary to pad it out. @webref jsonarray:method @brief Put a boolean value in the JSONArray @param index an index value @param value the value to assign @

(int index, boolean value)

Source from the content-addressed store, hash-verified

955 * @see JSONArray#setString(int, String)
956 */
957 public JSONArray setBoolean(int index, boolean value) {
958 return set(index, value ? Boolean.TRUE : Boolean.FALSE);
959 }
960
961
962// /**

Callers 1

parseIntoMethod · 0.45

Calls 1

setMethod · 0.95

Tested by

no test coverage detected