code: private void rehash()
                      throws IOException,
                      EOFException,
                      FileManagerException,
                      ClassNotFoundException,
                      HashtableOnDiskException {
          int size = (header.tablesize() * 2) + 1;
          if (this.tempTableSize > size) {
              doRehash(this.tempTableSize);
              this.tempTableSize = 0;
          } else {
              doRehash(size);
          }
      }
docs: Internal method to do default rehash of doubling