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

Method setInt

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

Put a key/int pair in the JSONObject. @webref jsonobject:method @brief Put a key/int pair in the JSONObject @param key a key string @param value the value to assign @return this. @throws RuntimeException If the key is null. @see JSONObject#setFloat(String, float) @see JSONObject#setString(String, S

(String key, int value)

Source from the content-addressed store, hash-verified

1183 * @see JSONObject#setBoolean(String, boolean)
1184 */
1185 public JSONObject setInt(String key, int value) {
1186 this.put(key, Integer.valueOf(value));
1187 return this;
1188 }
1189
1190
1191 /**

Callers 1

JSONObjectMethod · 0.95

Calls 1

putMethod · 0.95

Tested by

no test coverage detected