Vector vs ArrayList vs LinkedList

Here I mentioned all the differences between Vector, ArrayList, and LinkedList.

Vector ArrayList LinkedList
Data structure Growable array Dynamic array Doubly linked list
Increment size 100% 50% No initial size
Traverse Uses enumeration Uses iterator Uses iterator
Accessibility Random and fast Random and fast Sequential and slow
Order Insertion order Insertion order Insertion order
Duplicates Allowed Allowed Allowed
Insert / Delete Slow Slow Fast
Synchronized Yes No No
Null values Allowed Allowed Allowed

原文链接:Vector vs ArrayList vs LinkedList

© 版权声明
THE END
喜欢就支持一下吧
点赞5 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容