http://www.2cto.com/kf/201201/117360.htmlJava容器类包含List、ArrayList、Vector及map、HashTable、HashMapArrayList和HashMap是异步的,Vector和HashTable是同步的,所以Vector和HashTable是线程安全的,而ArrayList和HashMap并不是线程安全的。因为同步需要花费机器时间,所以Vector和HashTable的执行效率要低于ArrayList和HashMap。Collection├List 接口│├LinkedList 链表│├ArrayList 顺序结构动态数组类│ Read More
posted @ 2012-09-14 09:09 tangrongyue Views(312) Comments(0) Diggs(0) Edit