ArrayList与LinkedList ArrayList和LinkedList的区别: (1)ArrayList是实现了基于动态数组的数据结构,LinkedList基于链表的数据结构。 (2)对随机访问get和set,ArrayList优于LinkedList,因为LinkedList要移动指针。 (3)对与新增和删除操作add和remove,LinkedList比较占优势,因为ArrayList要移动数据。 LinkedList的一些特殊方法