JavaScript is disabled on your browser.
This specification is not final and is subject to change. Use is subject to
license terms
.
Skip navigation links
Overview
Class
Use
Tree
Preview
New
Deprecated
Index
Search
Help
Java SE 24 & JDK 24
DRAFT 24-crac+20-25
java.base
java.util.concurrent
ThreadLocalRandom
Uses of Class
java.util.concurrent.ThreadLocalRandom
Packages that use
ThreadLocalRandom
Package
Description
java.util.concurrent
Utility classes commonly useful in concurrent programming.
Uses of
ThreadLocalRandom
in
java.util.concurrent
Methods in
java.util.concurrent
that return
ThreadLocalRandom
Modifier and Type
Method
Description
static
ThreadLocalRandom
ThreadLocalRandom.
current
()
Returns the current thread's
ThreadLocalRandom
object.