【轉】Java多線程-同步集合和併發集合

轉載出處:http://www.javashuo.com/article/p-bnukfdix-bv.html, http://youyu4.iteye.com/blog/2352846 java 同步集合能夠簡單地理解爲經過synchronized來實現同步的集合。若是有多個線程調用同步集合的方法,它們將會串行執行。web arrayList和vector、stack數組 Vector是線程安全
相關文章
相關標籤/搜索