|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.util.ThreadLocalRandom
@ThreadSafety(level=COMPLETELY_THREADSAFE) public final class ThreadLocalRandom
This class provides a means of obtaining a thread-local random number generator that can be used by the current thread without the need for synchronization.
Method Summary | |
---|---|
static java.util.Random |
get()
Gets a thread-local random number generator instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Random get()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |