MCPcopy Create free account
hub / github.com/benfry/processing4 / sum

Method sum

core/src/processing/data/LongDict.java:565–571  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

563
564
565 public long sum() {
566 long sum = 0;
567 for (int i = 0; i < count; i++) {
568 sum += values[i];
569 }
570 return sum;
571 }
572
573
574 public int index(String what) {

Callers 1

getPercentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected