使用Collections.sort方法对list排序的两种方法 使用 Collections.sort 方法对 list 排序有两种方法第一种是list中的对象实现Comparable接口,如下: java 2023-12-24 48 点赞 0 评论 72 浏览