MCPcopy Create free account
hub / github.com/antlr/codebuff / max

Method max

src/org/antlr/codebuff/Tool.java:462–466  ·  view source on GitHub ↗
(List<Integer> Y)

Source from the content-addressed store, hash-verified

460 }
461
462 public static int max(List<Integer> Y) {
463 int max = 0;
464 for (int y : Y) max = Math.max(max, y);
465 return max;
466 }
467
468 public static int sum(int[] a) {
469 int s = 0;

Callers 3

mainMethod · 0.45
docDiffMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected