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

Method max

core/src/processing/core/PApplet.java:4556–4558  ·  view source on GitHub ↗

( begin auto-generated from max.xml ) Determines the largest value in a sequence of numbers. ( end auto-generated ) @webref math:calculation @param a first number to compare @param b second number to compare @see PApplet#min(float, float, float)

(int a, int b)

Source from the content-addressed store, hash-verified

4554 * @see PApplet#min(float, float, float)
4555 */
4556 static public final int max(int a, int b) {
4557 return (a > b) ? a : b;
4558 }
4559
4560 static public final float max(float a, float b) {
4561 return (a > b) ? a : b;

Callers 15

rawPointsMethod · 0.95
getVertexMaxMethod · 0.95
addVertexMethod · 0.95
addEllipseMethod · 0.95
addArcMethod · 0.95
getPolyVertexMaxMethod · 0.95
getLineVertexMaxMethod · 0.95
getPointVertexMaxMethod · 0.95
tessellateRoundPointsMethod · 0.95
splitRawIndicesMethod · 0.95
setFirstTexIndexMethod · 0.95
sortMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected