参考
https://blog.csdn.net/Vazzz/article/details/84306075
1、HashMap
(1)基本属性
基于Map接口的实现,元素是以键值对的方式存储,允许null值和null键,键不能重复,无序的,不能保证顺序不变化
(2)数据结构
数组 + 链表 + 红黑树

参考
https://blog.csdn.net/Vazzz/article/details/84306075
基于Map接口的实现,元素是以键值对的方式存储,允许null值和null键,键不能重复,无序的,不能保证顺序不变化
数组 + 链表 + 红黑树
本文标题:hashmap
本文链接:https://www.haomeiwen.com/subject/ojrqyctx.html
网友评论