摘要: 1.ArrayList是实现了基于动态数组的数据结构,LinkedList基于链表的数据结构。 2.对于随机访问get和set,ArrayList觉得优于LinkedList,因为LinkedList要移动指针。 3.对于新增和删除操作add和remove,LinedList比较占优势,因为Arra 阅读全文
posted @ 2018-01-23 22:52 lwx64397 阅读(4949) 评论(1) 推荐(1) 编辑