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

Method min

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

Return the smallest value. @webref intlist:method @webBrief Return the smallest value

()

Source from the content-addressed store, hash-verified

501 * @webBrief Return the smallest value
502 */
503 public int min() {
504 checkMinMax("min");
505 int outgoing = data[0];
506 for (int i = 1; i < count; i++) {
507 if (data[i] < outgoing) outgoing = data[i];
508 }
509 return outgoing;
510 }
511
512
513 // returns the index of the minimum value.

Callers 3

insertMethod · 0.45
insertMethod · 0.45
setRowMethod · 0.45

Calls 1

checkMinMaxMethod · 0.95

Tested by

no test coverage detected