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

Method max

core/src/processing/data/DoubleList.java:526–530  ·  view source on GitHub ↗

@webref doublelist:method @brief Return the largest value

()

Source from the content-addressed store, hash-verified

524 * @brief Return the largest value
525 */
526 public double max() {
527 checkMinMax("max");
528 int index = maxIndex();
529 return index == -1 ? Double.NaN : data[index];
530 }
531
532
533 public int maxIndex() {

Callers

nothing calls this directly

Calls 2

checkMinMaxMethod · 0.95
maxIndexMethod · 0.95

Tested by

no test coverage detected