MCPcopy Create free account
hub / github.com/RealTimeGenomics/rtg-tools / max

Method max

src/main/java/com/rtg/util/MathUtils.java:533–541  ·  view source on GitHub ↗

Return the largest integer in an array. @param s array @return maximum

(final int... s)

Source from the content-addressed store, hash-verified

531 * @return maximum
532 */
533 public static int max(final int... s) {
534 int max = s[0];
535 for (final int v : s) {
536 if (v > max) {
537 max = v;
538 }
539 }
540 return max;
541 }
542}

Callers 15

adjustMethod · 0.95
formatTimeRowMethod · 0.45
testHeteroMethod · 0.45
nextSequenceMethod · 0.45
checkMethod · 0.45
checkMethod · 0.45
checkIsValidMethod · 0.45
checkIsValidRcMethod · 0.45
augmentMethod · 0.45
checkPhredifyMethod · 0.45
checkBadMethod · 0.45

Calls

no outgoing calls

Tested by 11

formatTimeRowMethod · 0.36
testHeteroMethod · 0.36
nextSequenceMethod · 0.36
checkMethod · 0.36
checkMethod · 0.36
checkIsValidMethod · 0.36
checkIsValidRcMethod · 0.36
augmentMethod · 0.36
checkPhredifyMethod · 0.36
checkBadMethod · 0.36