http://www.javashuo.com/article/p-ajjikygn-o.htmlhtml
static int indexFor(int h, int length) { //jdk1.7的源碼,jdk1.8沒有這個方法,可是實現原理同樣的 return h & (length-1); //第三步 取模運算 }
HashMap
key
null
HashTable