赞
踩
String max = list.stream().map(Object::getNum).collect(Collectors.toList()).stream().max(Comparator.comparing(x -> x)).orElse(null);