2021年12月23日

摘要: 转载:https://blog.csdn.net/u014508939/article/details/118598525 阅读全文

posted @ 2021-12-23 16:14 jiaoqing。 阅读(132) 评论(0) 推荐(0)

摘要: list排序 需要使用JDK1.8及以上 方式一: 升序 list.sort((x, y) -> Integer.compare(x.getCusBuyCount() + x.getCusRentCount(), y.getCusBuyCount() + y.getCusRentCount())); 阅读全文

posted @ 2021-12-23 15:13 jiaoqing。 阅读(1441) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3