Vector ArrayList LinkedList

All of which are realized List interface!

Vector and ArrayList: sequential storage mode, but Vector is thread-safe, ArrayList is not thread-safe, on-demand; when the lack of storage space, ArrayList default increased to the original 50%, Vector increased to the original default i.e. double 100% (Vector capacity growth parameters can be set); Object underlying array are stored data.

LinkedList: linked list to store the way. Thread unsafe.

 

Guess you like

Origin www.cnblogs.com/DDiamondd/p/11293773.html
Recommended