/guava/android/guava/src/com/google/common/collect/CompactHashMap.java
CompactHashing.tableSet( newTable, newTableIndex) ;
CompactHashing.tableSet ( newTable, newTableIndex, oldNext ) ;
while (oldNext != UNSET) { int entryIndex = oldNext - 1; int oldEntry = entries[entryIndex]; int hash = CompactHashing.getHashPrefix(oldEntry, oldMask) | oldTableIndex; int newTableIndex = hash & newMask; int newNext = CompactHashing.tableGet(newTable, newTableIndex); <extra_id_0> entries[entryIndex] = CompactHashing.maskCombine(hash, newNext, newMask); oldNext = CompactHashing.getNext(oldEntry, oldMask); } } this.table = newTable; setHashTableMask(newMask);