已经尝试过正常分配并且:
Collections.copy(lostPackets, historyList);
抛出:
Exception in thread "Thread-3" java.lang.IndexOutOfBoundsException: Source does not fit in dest
有没有办法将 COWArrayList 复制到普通的 ArrayList 中?
已经尝试过正常分配并且:
Collections.copy(lostPackets, historyList);
抛出:
Exception in thread "Thread-3" java.lang.IndexOutOfBoundsException: Source does not fit in dest
有没有办法将 COWArrayList 复制到普通的 ArrayList 中?