技术问答-13

一、Vector与ArrayList 的理解 https://www.cnblogs.com/dengrongzhang/p/9371551.html http://www.javashuo.com/article/p-rgpduafo-hy.html Vector是线程安全的集合类,ArrayList并不是线程安全的类。Vector类对集合的元素操作时都加了synchronized,保证线程安全
相关文章
相关标签/搜索