摘要: 关于vector,ArrayList,hashMap和hashtable之间的区别 vector和ArrayList: 线程方面: vector是旧的,是线程安全的 ArrayList是java2之后才有的,是非线程安全的 所以在多线程的情况下,最好使用vector,因为其线程安全,在只有一个线程的 阅读全文
posted @ 2016-04-13 23:39 奈水犹寒 阅读(196) 评论(3) 推荐(0) 编辑