📜  ArrayList vs Vector - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:47.988000             🧑  作者: Mango

代码示例2
ArrayList is not thread safe
Vector is thread safe/syncronized
ArrayList is faster than Vector
Both allow duplicate values and keep ordering
Both are implementations of List interface