摘要: 今天使用List的排序功能,结果发现怎么排序,都没能成功。 1 list = list.stream().sorted((pre, cur) -> Double.parseDouble(pre) - Double.parseDouble(cur) > 0 ? 0 : 1).collect(Colle 阅读全文
posted @ 2020-04-14 15:18 光何 阅读(5037) 评论(0) 推荐(0) 编辑