Examples of PrimaryTreeMap


Examples of jdbm.PrimaryTreeMap

 
  public void testDefragBtree() throws IOException{
    String file = newTestFile();
    BaseRecordManager m = new BaseRecordManager(file);
    PrimaryTreeMap t = m.treeMap("aa");
    TreeMap t2 = new TreeMap();
    for(int i =0;i<10000;i ++ ){
      t.put(i, ""+i);
      t2.put(i, ""+i);
    }
         
    m.defrag();   
    m.close();
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.