HashMap報錯:java.util.ConcurrentModificationException

轉自:https://blog.csdn.net/dyingfair/article/details/56481352 HashMap是線程不安全的 ,那麼爲什麼說它是線程不安全的呢?       首先來看一下官方API有關HashMap線程不安全的描述: Note that this implementation is not synchronized. If multiple threads
相關文章
相關標籤/搜索