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

Method set

core/src/processing/data/StringDict.java:388–395  ·  view source on GitHub ↗

@webref stringdict:method @brief Create a new key/value pair or change the value of one

(String key, String value)

Source from the content-addressed store, hash-verified

386 * @brief Create a new key/value pair or change the value of one
387 */
388 public void set(String key, String value) {
389 int index = index(key);
390 if (index == -1) {
391 create(key, value);
392 } else {
393 values[index] = value;
394 }
395 }
396
397
398 public void setIndex(int index, String key, String value) {

Callers 4

parseStyleAttributesMethod · 0.95
StringDictMethod · 0.95
readSettingsMethod · 0.95
hyperlinkUpdateMethod · 0.95

Calls 2

indexMethod · 0.95
createMethod · 0.95

Tested by

no test coverage detected