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

Method setDouble

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

Put a key/double pair in the JSONObject. @param key A key string. @param value A double which is the value. @return this. @throws RuntimeException If the key is null or if the number is NaN or infinite.

(String key, double value)

Source from the content-addressed store, hash-verified

1226 * @throws RuntimeException If the key is null or if the number is NaN or infinite.
1227 */
1228 public JSONObject setDouble(String key, double value) {
1229 this.put(key, Double.valueOf(value));
1230 return this;
1231 }
1232
1233
1234 /**

Callers

nothing calls this directly

Calls 1

putMethod · 0.95

Tested by

no test coverage detected