2025年4月19日

hashMap扩容和转红黑树条件

摘要: HashMap的几个参数 参数 解释 static final int DEFAULT_INITIAL_CAPACITY = 1 << 4; 数组默认长度,也就是16 static final int MAXIMUM_CAPACITY = 1 << 30; 数组最大容量 static final f 阅读全文

posted @ 2025-04-19 21:06 zhangyukun 阅读(75) 评论(0) 推荐(0)

导航