摘要: list.stream().sorted(Comparator.comparing(DateEntity::getDateA) .thenComparing(DateEntity::getDateB).reversed()).collect(Collectors.toList()); 阅读全文
posted @ 2021-03-09 11:37 FlyingJiang 阅读(4373) 评论(0) 推荐(0) 编辑