Programmings›Algorithm Cookbook›Chapter 5. Hashing and Maps5.5 RehashingRebuild a hash table's bucket array after resizing so that every stored key satisfies the placement invariant for the new capacity.