摘要: 1.ArrayList是实现了基于动态数组的数据结构,LinkedList基于链表的数据结构。 2.对于随机访问get和set,ArrayList觉得优于LinkedList,因为LinkedList要移动指针。 3.对于在指定index位置新增和删除操作add和remove,LinedList比较 阅读全文
posted @ 2018-12-03 17:10 showme1942 阅读(5290) 评论(0) 推荐(0) 编辑