Java attack -Java 中的集合

Java 中的集合

Iterator interface <-- Iterable interface <-- Collection <--List,Set

interface <-- 具体类ArrayList, Vector, LinkedList ,HashSet,TreeSet

有序集合

List 有序的集合,元素可重复的。因此继承List 集合接口的接口,或子类都有这样的特性。如ArrayList,Vector,LinkedList ,………..

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

原文地址:https://www.cnblogs.com/htwdz-qhm/p/12591887.html