code: private boolean remove(HashtableEntry entry)
                      throws IOException,
                      EOFException,
                      FileManagerException,
                      ClassNotFoundException,
                      HashtableOnDiskException {
          if (entry == null) {
              throw (new HashtableOnDiskException("remove: Internal error, null entry."));
          }
  
          removes++;
          //
          // First unchain from hashtable
          //
          if (entry.location == getHtindex(entry.index, entry.tableid)) { // first in chain
              writeHashIndex(entry.index, entry.next, entry.tableid);
          } else { // not first in chain
              updatePointer(entry.previous, entry.next);
          }
  
          //
          // Now delete data
          //
          header.decrementObjectCount();
          filemgr.deallocate(entry.location); // deallocate from disk
          filemgr.flush();
  
          return true;
      }
docs: ************************************************************************