MCPcopy Index your code
hub / github.com/benfry/processing4 / setInt

Method setInt

core/src/processing/data/JSONObject.java:1231–1234  ·  view source on GitHub ↗

Inserts a new key/int pair into the JSONObject or, if a value with the specified key already exists, assigns a new value. @webref jsonobject:method @webBrief Inserts a new key/int pair into the JSONObject @param key a key string @param value the value to assign @return this. @throws R

(String key, int value)

Source from the content-addressed store, hash-verified

1229 * @see JSONObject#setBoolean(String, boolean)
1230 */
1231 public JSONObject setInt(String key, int value) {
1232 this.put(key, Integer.valueOf(value));
1233 return this;
1234 }
1235
1236
1237 /**

Callers 1

JSONObjectMethod · 0.95

Calls 1

putMethod · 0.95

Tested by

no test coverage detected