📅  最后修改于: 2022-03-11 14:52:32.445000             🧑  作者: Mango
代码示例1
public int max(List numbers) {
int max = Integer.MIN_VALUE;
for (Integer n: numbers) {
if (n > max) {
max = n;
}
}
return max;
}