Bit-shifting in Effective Java hashCode() implementation

后端 未结 3 2083
-上瘾入骨i
-上瘾入骨i 2020-12-01 09:17

I was wondering if someone could explain in detail what

(int)(l ^ (l >>> 32));

does in the following hashcode implementation (generat

3条回答
提交回复
热议问题