Fork me on GitHub
摘要: 1.ArrayList和 LinkedList的区别。 1.ArrayList是实现了基于动态数组的数据结构。2.LinkedList基于链表的数据结构。 3.对于随机访问get和set,ArrayList优,因为LinkedList要移动指针。 4.对于新增和删除操作add和remove,Line 阅读全文
posted @ 2018-01-16 13:17 薄荷加冰2060 阅读(206) 评论(0) 推荐(0)