MCPcopy Create free account
hub / github.com/benfry/processing4 / setFloat

Method setFloat

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

Inserts a new value into the JSONArray at the specified index position. If a value already exists in the specified position, the new value overwrites the old value. If the given index is greater than the length of the JSONArray , then null elements will be added as necessary to pad it o

(int index, float value)

Source from the content-addressed store, hash-verified

999 * @see JSONArray#setBoolean(int, boolean)
1000 */
1001 public JSONArray setFloat(int index, float value) {
1002 return setDouble(index, value);
1003 }
1004
1005
1006 /**

Callers

nothing calls this directly

Calls 1

setDoubleMethod · 0.95

Tested by

no test coverage detected