org.openjena.atlas.test
Class Gen

java.lang.Object
  extended by org.openjena.atlas.test.Gen

public class Gen
extends java.lang.Object

Support for testing B+Trees/BTrees. May be generally useful


Constructor Summary
Gen()
           
 
Method Summary
static int[] permute(int[] x, int num)
          Sort-of jumble a sequence
static int[] rand(int numRand, int low, int high)
          Generate a random sequence between low (inclusive) and high (exclusive)
static java.lang.String strings(int[] keys)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gen

public Gen()
Method Detail

rand

public static int[] rand(int numRand,
                         int low,
                         int high)
Generate a random sequence between low (inclusive) and high (exclusive)


permute

public static int[] permute(int[] x,
                            int num)
Sort-of jumble a sequence


strings

public static java.lang.String strings(int[] keys)


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.