public class ThreadsafeXorShiftRandom extends XorShiftRandom
XorShiftRandom.
We use a ThreadLocal to give each thread it's own implementation.| Constructor and Description |
|---|
ThreadsafeXorShiftRandom() |
| Modifier and Type | Method and Description |
|---|---|
long |
random()
We use the random generator for this very thread.
|
randompublic long random()
random in class XorShiftRandomCopyright © 2021 The Apache Software Foundation. All rights reserved.