Java 集合併發問題

ArrayList 線程不完全  寫時複製會出錯 解決線程不完全問題 CopyOnWrite Array 由於HashMap底層用了ArrayList,所以ArrayList不完全,HashMap/HashSet也不完全。 HashSet底層數據結構是HashMap 線程完全的HashMap特別重要
相關文章
相關標籤/搜索