HashMap源碼分析 1.8

類中定義的成員變量 transient Node<K,V>[] table; //這個數組添加數據的時候初始化。 transient int size;// map中包含健值對的數量 final float loadFactor; //map的默認加載因子 int threshold;// 下一個要調整大小的大小值(容量*加載因子) static final float DEFAULT_LOAD
相關文章
相關標籤/搜索