//默认大小
static final int DEFAULT_INITIAL_CAPACITY = 1 << 4;
//最大值
static final int MAXIMUM_CAPACITY = 1 << 30;
//扩列的系数因子
static final float DEFAULT_LOAD_FACTOR = 0.75f;
//hash桶,内部存放列表,长度是2的次方,初始化时为0
transient Node
//加载因子,用来计算哈希表元素数量的阈值, threshold = 哈希桶.length * loadFactor
final float loadFactor;
//哈希桶内部的阈值,当哈希桶元素超过阈值时,会发生扩容resize()
int threshold;
transient int modCount;
//元素长度
transient int size;
//用来判断节点上链表是否转红黑树的值
static final int TREEIFY_THRESHOLD = 8;
�