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

Method max

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

@webref floatlist:method @brief Return the largest value

()

Source from the content-addressed store, hash-verified

597 * @brief Return the largest value
598 */
599 public float max() {
600 checkMinMax("max");
601 int index = maxIndex();
602 return index == -1 ? Float.NaN : data[index];
603 }
604
605
606 public int maxIndex() {

Callers

nothing calls this directly

Calls 2

checkMinMaxMethod · 0.95
maxIndexMethod · 0.95

Tested by

no test coverage detected