Searched defs:ThreadLocalRandom (Results 1 - 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
H A DThreadLocalRandom.java54 * java.lang.Math} class, a {@code ThreadLocalRandom} is initialized
56 * modified. When applicable, use of {@code ThreadLocalRandom} rather
59 * {@code ThreadLocalRandom} is particularly appropriate when multiple
64 * {@code ThreadLocalRandom.current().nextX(...)} (where
67 * accidently share a {@code ThreadLocalRandom} across multiple threads.
72 * <p>Instances of {@code ThreadLocalRandom} are not cryptographically
82 public class ThreadLocalRandom extends Random { class in inherits:Random
89 * same state as needed to maintain the ThreadLocalRandom
95 * ThreadLocalRandom sequence. The dual use is a marriage of
109 * constructor, the common static ThreadLocalRandom maintain
146 private ThreadLocalRandom() { method in class:ThreadLocalRandom
[all...]

Completed in 44 milliseconds