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

Method max

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

@webref doublelist:method @brief Return the largest value

()

Source from the content-addressed store, hash-verified

601 * @brief Return the largest value
602 */
603 public double max() {
604 checkMinMax("max");
605 int index = maxIndex();
606 return index == -1 ? Double.NaN : data[index];
607 }
608
609
610 public int maxIndex() {

Callers

nothing calls this directly

Calls 2

checkMinMaxMethod · 0.95
maxIndexMethod · 0.95

Tested by

no test coverage detected