private int indexFor ( int hash ) { // mix the bits to avoid bucket collisions... hash += ~ ( hash << 15 ) ; hash ^= ( hash >>> 10 ) ; hash += ( hash << 3 ) ; hash ^= ( hash >>> 6 ) ; hash += ~ ( hash << 11 ) ; hash ^= ( hash >>> 16 ) ; return hash & ( table . length - 1 ) ; }
Converts the given hash code into an index into the hash table .