jeco.kernel.util
Class RandomGenerator
java.lang.Object
jeco.kernel.util.RandomGenerator
public class RandomGenerator
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
randomGenerator
protected static java.util.Random randomGenerator
RandomGenerator
public RandomGenerator()
setSeed
public static void setSeed(long seed)
nextDouble
public static double nextDouble()
nextDouble
public static double nextDouble(double lowerBound,
double upperBound)
nextInt
public static int nextInt(int lowerBound,
int upperBound)
nextInteger
public static int nextInteger(int lowerBound,
int upperBound)
nextInt
public static int nextInt(int upperBound)
nextInteger
public static int nextInteger(int upperBound)
nextBoolean
public static boolean nextBoolean()
intPermutation
public static int[] intPermutation(int length)