页首
摘要: Java源码解析之HashMap 一、HashMap源码解析 1、HashMap的数据结构 jdk7以前:数组+链表 jdk8以后:数组+链表+红黑树 public class HashMap<K,V> extends AbstractMap<K,V> implements Map<K,V>, Cl 阅读全文
posted @ 2021-10-13 13:51 heart-up 阅读(60) 评论(0) 推荐(0)
页脚