/** * Returns a random number from the distribution. */ public int nextInt() { return nextInt(this.mean); }
/** * Returns a random number from the distribution. */ public int nextInt() { return nextInt(this.mean); }
/** * Returns a random number from the distribution with the given mean. */ public static int staticNextInt(double mean) { synchronized (shared) { shared.setMean(mean); return shared.nextInt(); } }
/** * Returns a random number from the distribution with the given mean. */ public static int staticNextInt(double mean) { synchronized (shared) { shared.setMean(mean); return shared.nextInt(); } }