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

Method set

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

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

(String key, String value)

Source from the content-addressed store, hash-verified

399 * @webBrief Create a new key/value pair or change the value of one
400 */
401 public void set(String key, String value) {
402 int index = index(key);
403 if (index == -1) {
404 create(key, value);
405 } else {
406 values[index] = value;
407 }
408 }
409
410
411 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