方式一:
List<Order> orderList = Lists.newArrayList();
orderList .stream().collect(Collectors.collectingAndThen(Collectors.toCollection(()
-> new TreeSet<>(Comparator.comparing(o
-> o.getId()))), ArrayList::new));
方式一:
List<Order> orderList = Lists.newArrayList();
orderList .stream().collect(Collectors.collectingAndThen(Collectors.toCollection(()
-> new TreeSet<>(Comparator.comparing(o
-> o.getId()))), ArrayList::new));
去megaton裏面的屍鬼.那裏買藥, 把破爛賣給他. 然後傳送到其他地圖, 再傳送回來, 他就又有錢和新藥了.繼續賣破爛, 買藥.刷幾次就夠了.