标签:pre span color java java面试 col turn map object
查了一下源码(jdk8),记录一下吧,能记住就记一下吧!
static final int hash(Object key) { int h; return (key == null) ? 0 : (h = key.hashCode()) ^ (h >>> 16); }
Java面试题之hashmap中用什么hash算法解决碰撞的?
标签:pre span color java java面试 col turn map object
原文地址:https://www.cnblogs.com/hujinshui/p/10463882.html