Package org.xtreemfs.babudb.api.database

Examples of org.xtreemfs.babudb.api.database.ResultSet


      sorted = lines;
    }
   
    final Iterator<String> it = sorted.iterator();
   
    return new ResultSet() {
      @Override
      public boolean hasNext() {
        return it.hasNext();
      }
View Full Code Here


      }
    };
  }
 
  public static final ResultSet randomIterator(final ArrayList<byte[]> lookupHits, final int size, final int hitrate, final int minStrLen, final int maxStrLen, final char minChar, final char maxChar) {
    return new ResultSet() {
          final Random generator = new Random();
            private int    count = 0;
           
            private String next = minChar + "";
           
View Full Code Here

TOP

Related Classes of org.xtreemfs.babudb.api.database.ResultSet

Copyright © 2018 www.massapicom. 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.