MCPcopy Create free account
hub / github.com/apache/commons-lang / max0

Method max0

src/main/java/org/apache/commons/lang3/ArrayUtils.java:4581–4583  ·  view source on GitHub ↗
(final int other)

Source from the content-addressed store, hash-verified

4579 }
4580
4581 private static int max0(final int other) {
4582 return Math.max(0, other);
4583 }
4584
4585 /**
4586 * Delegates to {@link Array#newInstance(Class,int)} using generics.

Callers 5

indexOfMethod · 0.95
indexOfNaNMethod · 0.95
shiftMethod · 0.95
subarrayMethod · 0.95
swapMethod · 0.95

Calls 1

maxMethod · 0.45

Tested by

no test coverage detected