Collections - ArrayList vs Vector
Table of Contents
ArrayList vs Vector
- An ArrayList is not synchronized which makes it much faster.
- While a vector is synchronized, which slows it down, it is thread safe and limited to one thread at a time.
- Other than Hashtable, Vector is the only other class that uses both Enumeration and Iterator while ArrayList can only use Iterator for traversing an ArrayList.