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

Method create

core/src/processing/data/StringDict.java:422–431  ·  view source on GitHub ↗
(String key, String value)

Source from the content-addressed store, hash-verified

420
421
422 protected void create(String key, String value) {
423 if (count == keys.length) {
424 keys = PApplet.expand(keys);
425 values = PApplet.expand(values);
426 }
427 indices.put(key, Integer.valueOf(count));
428 keys[count] = key;
429 values[count] = value;
430 count++;
431 }
432
433 /**
434 * @webref stringdict:method

Callers 1

setMethod · 0.95

Calls 2

expandMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected