对于基本类型来说,就是值拷贝,高位舍去或补0,低级类型转高级类型,高位补0,高级类型转低级类型,高位舍去对于引用类型,就是内部指针强行转换
(int)cache & ((1 << bits) - 1) process the & first!