HashMap源码分析 1.8

类中定义的成员变量 transient Node<K,V>[] table; //这个数组添加数据的时候初始化。 transient int size;// map中包含健值对的数量 final float loadFactor; //map的默认加载因子 int threshold;// 下一个要调整大小的大小值(容量*加载因子) static final float DEFAULT_LOAD
相关文章
相关标签/搜索