graph TD
A[Collection] -->|Implements| B[Set]
A[Collection] -->|Implements| C[List]
B -->|Implements| E[HashSet]
B -->|Implements| F[TreeSet]
C -->|Implements| G[ArrayList]
C -->|Implements| H[LinkedList]
C -->|Implements| I[Vector]
style A fill:#f9f,st
单列集合接口
遍历方式:
接口
实现类:ArrayList、LinkedList、Vector
元素有序、可重复、有索引
列表迭代器:迭代过程中添加元素 add
接口
实现类:HashSet、TreeSet、LinkedHashSet
元素无序、不重复、无索引
双列集合