Exemple #1
0
 public DataStruc(RecordManager recman, String objectname) throws IOException {
   // Constructor, get the hashtable from db, build a new one if it does not exist
   long recid = recman.getNamedObject(objectname);
   // System.out.println(objectname + recid);
   if (recid != 0) {
     hashtable = HTree.load(recman, recid);
   } else {
     hashtable = HTree.createInstance(recman);
     recman.setNamedObject(objectname, hashtable.getRecid());
   }
 }