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

Method sub

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

Subtract from a value. @webref intlist:method @webBrief Subtract from a value

(int index, int amount)

Source from the content-addressed store, hash-verified

448 * @webBrief Subtract from a value
449 */
450 public void sub(int index, int amount) {
451 if (index < count) {
452 data[index] -= amount;
453 } else {
454 boundsProblem(index, "sub");
455 }
456 }
457
458 /**
459 * Multiply a value.

Callers

nothing calls this directly

Calls 1

boundsProblemMethod · 0.95

Tested by

no test coverage detected