队列排序

2023-08-16  本文已影响0人  engineer_tang

queueList.stream()
.sorted(Comparator.comparing(LinkedBlockingQueue::size)).collect(Collectors.toList()).get(0).offer(dmn);

上一篇 下一篇

猜你喜欢

热点阅读