• 关于HashMap中的IndexOf方法原来一直没有想通为什么用 amp 并且和length 1做运算 xff0c 今天琢磨了一下 static int indexFor int h int length return h amp leng