static int intMin(Iterable l) { int min = Int.MAX_VALUE; fOr (int i : l) min = Math.min(min, i); ret min; } static int intMin(int... l) { int min = Int.MAX_VALUE; if (l != null) for (int i : l) min = Math.min(min, i); ret min; }