摘要: 1.Vector和ArrayList的区别 答:Vector的方法都是同步的(Synchronized),是线程安全的(thread-safe),而ArrayList的方法不是,由于线程的同步必然要影响性能, 因此,ArrayList的性能比Vector好。 2.Hashtable和HashMap 阅读全文
posted @ 2018-01-20 16:02 shuaiflying 阅读(187) 评论(0) 推荐(0) 编辑