code: static public HashtableOnDisk getStaticInstance(FileManager filemgr,
                                                      boolean auto_rehash,
                                                      long instanceid,
                                                      HashtableInitInterface initfn,
                                                      boolean hasCacheValue,
                                                      HTODDynacache htoddc)
                      throws FileManagerException,
                      ClassNotFoundException,
                      IOException,
                      HashtableOnDiskException {
          if (instanceid == 0) {
              instanceid = filemgr.start();
          }
  
          HashtableOnDisk answer = null;
          try {
              answer = new HashtableOnDisk(filemgr, auto_rehash, instanceid, initfn, hasCacheValue, htoddc);
          } catch (EOFException e) {
              // eof means the file is empty and there is no such instance
          }
  
          return answer;
      }
docs: ***********************************************************************
  getInstance. Initializes a HashtableOnDisk instance over the specified
  FileManager, from the specified instanceid. The instanceid was
  used to originally create the instance in the createInstance method.
  
  @param filemgr The FileManager for the HTOD.
  @param auto_rehash If "true", the HTOD will automatically double in
  capacity when its occupancy exceeds its threshold. If "false"
  the HTOD will increase only if the startRehash() method is
  invoked.
  @param instanceid The instance of the HTOD in the FileManager.
  @param initfn An interface to which each object will be passed on
  initialztion *only* if it is determined that the HTOD was not
  previously properly closed.
  
  @return A HashtableOnDisk pointer
  ***********************************************************************