/** * Returns a random number from the distribution. */ public double nextDouble() { return nextDouble(this.freedom); }
/** * Returns a random number from the distribution. * * @param freedom * degrees of freedom. * @throws IllegalArgumentException * if <tt>freedom < 1.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.freedom); }
/** * Returns a random number from the distribution. * * @param freedom * degrees of freedom. * @throws IllegalArgumentException * if <tt>freedom < 1.0</tt>. */ public static double staticNextDouble(double freedom) { synchronized (shared) { return shared.nextDouble(freedom); } }