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

Method min

core/src/processing/data/LongList.java:544–551  ·  view source on GitHub ↗

@webref intlist:method @brief Return the smallest value

()

Source from the content-addressed store, hash-verified

542 * @brief Return the smallest value
543 */
544 public long min() {
545 checkMinMax("min");
546 long outgoing = data[0];
547 for (int i = 1; i < count; i++) {
548 if (data[i] < outgoing) outgoing = data[i];
549 }
550 return outgoing;
551 }
552
553
554 // returns the index of the minimum value.

Callers 1

insertMethod · 0.45

Calls 1

checkMinMaxMethod · 0.95

Tested by

no test coverage detected