/guava/android/guava/src/com/google/common/collect/HashBiMap.java
hashTableKToV[keyBucket] = entry;hashTableKToV[keyBucket] = entryToRehash;
hashTableKToV[keyBucket] = entryToRehash;
hashTableKToV = createFilledWithAbsent(newTableSize); hashTableVToK = createFilledWithAbsent(newTableSize); for (int entryToRehash = 0; entryToRehash < size; entryToRehash++) { int keyHash = Hashing.smearedHash(keys[entryToRehash]); int keyBucket = bucket(keyHash); nextInBucketKToV[entryToRehash] = hashTableKToV[keyBucket]; <extra_id_0> int valueHash = Hashing.smearedHash(values[entryToRehash]); int valueBucket = bucket(valueHash); nextInBucketVToK[entryToRehash] = hashTableVToK[valueBucket]; hashTableVToK[valueBucket] = entryToRehash; } }