Java8学习笔记_实例1
摘要:
1)集合排序 Collections.sort(inventory, new Comparator<Apple>() { public int compare(Apple a1, Apple a2){ return a1.getWeight().compareTo(a2.getWeight()); 阅读全文
posted @ 2017-10-11 18:47 轨道 阅读(244) 评论(0) 推荐(0) 编辑