@Public public class XORShiftRandom extends Random
Random in benchmark, with the cost
that abandon thread-safety. So it's recommended to create a new XORShiftRandom for each
thread.| Constructor and Description |
|---|
XORShiftRandom() |
XORShiftRandom(long input) |
| Modifier and Type | Method and Description |
|---|---|
int |
next(int bits)
All other methods like nextInt()/nextDouble()...
|
nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeedCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.