一、概述
先来上一张 Collection 继承体系的图:
再来上一张 Map 继承体系的图:
由以上两张图可知以下内容:
List,Set,Map 都是接口List,Set 继承自 Collection 接口,而 Map 为单独的接口List 子类有 ArrayList,linkedList,VectorSet 子类有 HashSet,linkedHashSet,TreeSetMap 子类有 HashMap,TreeMap,HashTable 以及 linkedHasMapCollection 接口下还有 Queue 接口,有 PriorityQueue 类
二、对比
完结!



