Lines Matching refs:next

98             long next = current * 181783497276652981L;
99 if (seedUniquifier.compareAndSet(current, next))
100 return next;
110 * number generator which is maintained by method {@link #next}.
159 * Generates the next pseudorandom number. Subclasses should
162 * <p>The general contract of {@code next} is that it returns an
167 * likely to be {@code 0} or {@code 1}. The method {@code next} is
179 * @return the next pseudorandom value from this random number
183 protected int next(int bits) {
221 * Returns the next pseudorandom, uniformly distributed {@code int}
232 * return next(32);
235 * @return the next pseudorandom, uniformly distributed {@code int}
239 return next(32);
257 * return (int)((n * (long)next(31)) >> 31);
261 * bits = next(31);
268 * because the next method is only approximately an unbiased source of
291 * @return the next pseudorandom, uniformly distributed {@code int}
303 return (int)((n * (long)next(31)) >> 31);
307 bits = next(31);
314 * Returns the next pseudorandom, uniformly distributed {@code long}
323 * return ((long)next(32) << 32) + next(32);
329 * @return the next pseudorandom, uniformly distributed {@code long}
334 return ((long)(next(32)) << 32) + next(32);
338 * Returns the next pseudorandom, uniformly distributed
349 * return next(1) != 0;
352 * @return the next pseudorandom, uniformly distributed
358 return next(1) != 0;
362 * Returns the next pseudorandom, uniformly distributed {@code float}
380 * return next(24) / ((float)(1 << 24));
384 * because the next method is only approximately an unbiased source of
390 * return next(30) / ((float)(1 << 30));}</pre>
396 * @return the next pseudorandom, uniformly distributed {@code float}
401 return next(24) / ((float)(1 << 24));
405 * Returns the next pseudorandom, uniformly distributed
418 * return (((long)next(26) << 27) + next(27))
423 * because the {@code next} method is only approximately an unbiased
429 * return (((long)next(27) << 27) + next(27))
438 * @return the next pseudorandom, uniformly distributed {@code double}
444 return (((long)(next(26)) << 27) + next(27))
452 * Returns the next pseudorandom, Gaussian ("normally") distributed
491 * @return the next pseudorandom, Gaussian ("normally") distributed
521 * next Gaussian to be returned