特牛生活网

java date最大值_jdk8 Lambda表达式 日期最大值-CSDN博客

网友收藏
文章浏览阅读3.3k次。This is my codeList ints = Stream.of(1,2,4,3,5).collect(Collectors.toList());Integer maxInt = ints.stream().max(Comparator.comparing(i -> i)).get();System.out.println("Maximum number in the set is ..._拉姆达 取出日期最大的数据来