Collection和Map集合
时间: 2023-10-12 12:07:11 浏览: 93
Collection集合包含了List、Set和Queue这三个子类。List是一个有序的集合,可以重复存储元素。Set是一个无序的集合,不允许重复存储元素。Queue是一个队列,按照先进先出的原则进行操作。而Map集合包括了HashMap、Hashtable和TreeMap这三个子类。Map是一种键值对的集合,每个元素都包含一个键和一个值,通过键可以唯一确定一个值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [集合框架包含collection和map的子类](https://download.csdn.net/download/weixin_44783341/12868403)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [集合(Collection与Map)](https://blog.csdn.net/qq_40147209/article/details/128566547)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文