摘要: 1.ArrayList是实现了基于动态数组的数据结构,LinkedList基于链表的数据结构。 2.对于随机访问get和set,ArrayList优于LinkedList,因为ArrayList可以随机定位,而LinkedList要移动指针一步一步的移动到节点处。(参考数组与链表来思考) 3.对... 阅读全文
posted @ 2015-03-29 10:36 Harold Tihan 阅读(264) 评论(0) 推荐(0) 编辑