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

Method add

core/src/processing/data/IntList.java:485–491  ·  view source on GitHub ↗

@webref intlist:method @brief Add to a value

(int index, int amount)

Source from the content-addressed store, hash-verified

483 * @brief Add to a value
484 */
485 public void add(int index, int amount) {
486 if (index < count) {
487 data[index] += amount;
488 } else {
489 boundsProblem(index, "add");
490 }
491 }
492
493 /**
494 * @webref intlist:method

Callers 6

JSONArrayMethod · 0.45
appendMethod · 0.45
parseIntoMethod · 0.45
indexMethod · 0.45
setCategoryMethod · 0.45
readMethod · 0.45

Calls 1

boundsProblemMethod · 0.95

Tested by

no test coverage detected