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

Method sub

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

@webref intlist:method @brief Subtract from a value

(int index, int amount)

Source from the content-addressed store, hash-verified

495 * @brief Subtract from a value
496 */
497 public void sub(int index, int amount) {
498 if (index < count) {
499 data[index] -= amount;
500 } else {
501 boundsProblem(index, "sub");
502 }
503 }
504
505 /**
506 * @webref intlist:method

Callers

nothing calls this directly

Calls 1

boundsProblemMethod · 0.95

Tested by

no test coverage detected