public class XorShiftRandom extends Object
| Constructor and Description | 
|---|
| XorShiftRandom(long initialSeed) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | random()Calculate a random value based on the previous value stored in this instance. | 
| static long | random(long randomStart)Calculate a random value based on the given start Value. | 
public long random()
public static long random(long randomStart)
randomStart - the start value. Usually the result of the previous invocationCopyright © 2021 The Apache Software Foundation. All rights reserved.