org.openjena.atlas.test
Class Gen

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

public class Gen
extends 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 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 String strings(int[] keys)


Licenced under the Apache License, Version 2.0