/** * Returns a uniformly distributed random number in the open interval * <tt>(from,to)</tt> (excluding <tt>from</tt> and <tt>to</tt>). Pre * conditions: <tt>from <= to</tt>. */ public static float staticNextFloatFromTo(float from, float to) { synchronized (shared) { return shared.nextFloatFromTo(from, to); } }
/** * Returns a uniformly distributed random number in the open interval * <tt>(from,to)</tt> (excluding <tt>from</tt> and <tt>to</tt>). Pre * conditions: <tt>from <= to</tt>. */ public static float staticNextFloatFromTo(float from, float to) { synchronized (shared) { return shared.nextFloatFromTo(from, to); } }