Vector implements a dynamic array. It is similar to ArrayList, but with two differences −
- Vector is synchronized.
- Vector contains many legacy methods that are not part of the
collections framework.
Vector proves to be very useful if you don’t know the size of the array in advance or you just need one that can change sizes over the lifetime of a program.
https://www.tutorialspoint.com/java/java_vector_class.htm
- arrayList和vector的区别
https://www.cnblogs.com/jinlinFighting/p/5775281.html
- docapi
https://docs.oracle.com/javase/7/docs/api/java/util/Vector.html