put时hash的过程:
1)建立一个新hash
h=e.hashcode;
h^(h>>>16);
2)定位桶
newhash&(n-1)
3)判断桶元素
3.1为空==null
3.2不空(hash==p.hash &&())
3.3s继续此过程
put时hash的过程:
1)建立一个新hash
h=e.hashcode;
h^(h>>>16);
2)定位桶
newhash&(n-1)
3)判断桶元素
3.1为空==null
3.2不空(hash==p.hash &&())
3.3s继续此过程