org.openjena.atlas.test
Class Gen
java.lang.Object
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)
|
Gen
public Gen()
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