/** * Returns a random number from the distribution. */ public double nextDouble() { return nextDouble(lambda); }
/** * Returns a random number from the distribution with the given lambda. */ public static double staticNextDouble(double lambda) { synchronized (shared) { return shared.nextDouble(lambda); } }
/** * Returns a random number from the distribution. */ public double nextDouble() { return nextDouble(lambda); }
/** * Returns a random number from the distribution with the given lambda. */ public static double staticNextDouble(double lambda) { synchronized (shared) { return shared.nextDouble(lambda); } }