The difference between ArrayList and LinkedList, Vector

ArrayList is based on the storage structure of the array, the query efficiency is fast, deleting and adding data is relatively slow, the thread is not safe
LinkedList is based on the chain storage structure, the query efficiency is slow, the efficiency of deleting and adding is fast, the thread is not safe, the
vector is thread-safe, and it is no longer recommended.

Guess you like

Origin blog.csdn.net/jq1223/article/details/112727010