Collection Java的主要容器类有List, Set, Map Java Collection 关系图 图片来源 1.List 使用数组或链表存储的有序数列 2.Set 不允许含有重复元素 3. Map