文章目录 stream排序 stream排序 public class StreamSortTest { public static void main(String[] args) { ArrayList<Student> list = new ArrayList<>(); list.add(new Student("小明"