/** * Returns a random number from the distribution. * * @throws IllegalArgumentException * if <tt>k <= 0.0</tt>. */ public static double staticNextDouble(double freedom) { synchronized (shared) { return shared.nextDouble(freedom); } }
/** * Returns a random number from the distribution. */ public double nextDouble() { return nextDouble(this.my_k); }
/** * Returns a random number from the distribution. * * @throws IllegalArgumentException * if <tt>k <= 0.0</tt>. */ public static double staticNextDouble(double freedom) { synchronized (shared) { return shared.nextDouble(freedom); } }
/** * Returns a random number from the distribution. */ public double nextDouble() { return nextDouble(this.my_k); }