/** * Returns a uniformly distributed random number in the closed interval * <tt>[from,to]</tt> (including <tt>from</tt> and <tt>to</tt>). Pre * conditions: <tt>from <= to</tt>. */ public static long staticNextLongFromTo(long from, long to) { synchronized (shared) { return shared.nextLongFromTo(from, to); } }
/** * Returns a uniformly distributed random number in the closed interval * <tt>[from,to]</tt> (including <tt>from</tt> and <tt>to</tt>). Pre * conditions: <tt>from <= to</tt>. */ public static long staticNextLongFromTo(long from, long to) { synchronized (shared) { return shared.nextLongFromTo(from, to); } }