java8获取list对象中某个字段最大值的对象 Posted on 2022-05-28 Edited on 2023-03-24 In Java 1ProductSummaryDTO maxRecord = v.stream().max(Comparator.comparing(ProductSummaryDTO::getStatDate)).get(); Welcome to my other publishing channels Twitter