深入理解Java之HashMap —— 03

m_common 17 0 PDF 2020-12-22 21:12:31

1. HashMap的操作流程 1.1 HashMap的构造函数 首先我们来看一下HashMap的构造函数: /** * Constructs an empty {@code HashMap} with the specified initial * capacity and load factor. * * @param initialCapacity the initial capacity 初始化容量 * @param loadFactor the load factor 负载因子 * @throws Illeg

用户评论
请输入评论内容
评分:
暂无评论