Date: 2020-03-09
Tags: hashcode map integer
计算两个正整数的hashcode的方法:
return x >= y ? (x * x + x + y) : (y * y + x)