摘要: 1、Collections.sort() //升序排列 Collections.sort(list, new Comparator<Student>() { public int compare(Student s1, Student s2) { return s1.getAge().compare 阅读全文
posted @ 2022-07-25 09:45 chelsey3tsf 阅读(1375) 评论(0) 推荐(0)