摘要: HashMap源码分析 HashMap的数据结构 1.数组: 2.链表:双向链表 3.红黑树:二叉查找数 源码中验证: /** * Holds cached entrySet(). Note that AbstractMap fields are used * for keySet() and va 阅读全文
posted @ 2022-08-05 16:08 搬砖的孟达 阅读(8) 评论(0) 推荐(0)