Java ThreadLocalRandom

2024 年 11 月 11 日 | 阅读 1 分钟

Java ThreadLocalRandom 类提供了 several methods,例如 current(), doubles(), ints(), nextDouble(), nextInt(), nextLong() 等。

方法
current()
doubles()
ints()
nextDouble()
nextInt()
nextLong()