Vector类的所有方法都是同步的,Arraylist不是同步的。 所以在不需要保证线程安全时时建议使用Arraylist。 https://www.cnblogs.com/ming-blogs/p/10891601.html