JAVA 取List中创建时间最大的数据

HeaderVO headerVO=headerVOList.stream().max(Comparator.comparing(HeaderVO::getCreationDate)).get();

 

posted @ 2021-06-01 14:14  哎丫丫呀喂  阅读(1170)  评论(0)    收藏  举报