Java集合类都实现了Collection接口。
Collection -> List -> Vector
Collection -> List -> ArrayList
Collection -> List -> LinkList
Collection -> Set -> HashSet
Collection -> Set -> LinkHashSet
Collection -> Set -> SortedSet -> TreeSet
其中Vector是线程同步的,而ArrayList 不是的,所以 ArrayList效率要比Vector要高