摘要:
有序否允许元素重复否Collection否是List是是SetAbstractSet否否HashSetTreeSet是(用二叉树排序)MapAbstractMap否使用key-value来映射和存储数据,Key必须惟一,value可以重复HashMapTreeMap是(用二叉树排序)几个面试常见问题:1.Q:ArrayList和Vector有什么区别?HashMap和HashTable有什么区别?A:Vector和HashTable是线程同步的(synchronized)。性能上,ArrayList和HashMap分别比Vector和Hashtable要好。2.Q:大致讲解java集合的体系结 阅读全文
posted @ 2014-01-09 16:56
雨之殇
阅读(314)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2014-01-09 16:15
雨之殇
阅读(191)
评论(0)
推荐(0)

浙公网安备 33010602011771号