摘要: 格式 (o1, o2) -> { return o1.* > o2.* ? 0 : -1; } 等同于 new Comparator<Student>() { @Override public int compare(o1, o2) { return o1.* > o2.* ? 0 : 1; } } 阅读全文
posted @ 2020-07-17 17:47 PoetryAndYou 阅读(160) 评论(0) 推荐(0) 编辑