线程安全:
Vector 已不推荐使用。
Hashtable
Enumeration
用java5.0新加入的:
ConcurrentLinkedQueue
ConcurrentHashMap
CopyOnWriteArrayList
CopyOnWriteArraySet
非线程安全:
ArrayList
LinkedList
HashMap
LinkedHashMap
TreeMap
来源:
http://kang.iteye.com/blog/364457
http://book.51cto.com/art/200812/103986.htm
http://www.cnblogs.com/modou/articles/1345995.html
http://mmqzlj.blog.51cto.com/2092359/550631
## ------------------------------------------
一般大家都知道ArrayList和LinkedList的大致区别:
1.ArrayList是实现了基于动态数组的数据结构,LinkedList基于链表的数据结构。
2.对于随机访问get和set,ArrayList觉得优于LinkedList,因为LinkedList要移动指针。
3.对于新增和删除操作add和remove,LinedList比较占优势,因为ArrayList要移动数据。
来源:http://pengcqu.iteye.com/blog/502676
##-------------------------------------------
IBM: Java 多线程与并发编程专题 http://www.ibm.com/developerworks/cn/java/j-concurrent/
Vector 已不推荐使用。
Hashtable
Enumeration
用java5.0新加入的:
ConcurrentLinkedQueue
ConcurrentHashMap
CopyOnWriteArrayList
CopyOnWriteArraySet
非线程安全:
ArrayList
LinkedList
HashMap
LinkedHashMap
TreeMap
来源:
http://kang.iteye.com/blog/364457
http://book.51cto.com/art/200812/103986.htm
http://www.cnblogs.com/modou/articles/1345995.html
http://mmqzlj.blog.51cto.com/2092359/550631
## ------------------------------------------
一般大家都知道ArrayList和LinkedList的大致区别:
1.ArrayList是实现了基于动态数组的数据结构,LinkedList基于链表的数据结构。
2.对于随机访问get和set,ArrayList觉得优于LinkedList,因为LinkedList要移动指针。
3.对于新增和删除操作add和remove,LinedList比较占优势,因为ArrayList要移动数据。
来源:http://pengcqu.iteye.com/blog/502676
##-------------------------------------------
IBM: Java 多线程与并发编程专题 http://www.ibm.com/developerworks/cn/java/j-concurrent/