摘要: [toc] # 集合 ## hashMap ### hash函数设计 ``` int h = (key == null) ? 0 :(h = key.hashcode)^(h>>>16) int index = h & (length-1); ``` 1. h>>>16 被称为扰动函数 使用无符号右 阅读全文
posted @ 2021-07-29 07:43 刘三茶 阅读(96) 评论(0) 推荐(0) 编辑