摘要: nums = IntStream.of(nums) .boxed() .sorted((o1, o2) -> (Math.abs(o2) - Math.abs(o1))) .mapToInt(Integer::intValue).toArray(); 阅读全文
posted @ 2021-12-03 13:34 Peterxiazhen 阅读(218) 评论(0) 推荐(0) 编辑