Package de.extio.spacecraft.shared.rng
Class ThreadLocalXorShift128Random
- java.lang.Object
-
- de.extio.spacecraft.shared.rng.ThreadLocalXorShift128Random
-
public final class ThreadLocalXorShift128Random extends Object
Thread local version of XorShift128Random. This is the preferred way of using this generator.
-
-
Constructor Summary
Constructors Constructor Description ThreadLocalXorShift128Random()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Random
current()
static int
nextInt(int startInclusive, int endExclusive)
-
-
-
Method Detail
-
current
public static Random current()
-
nextInt
public static int nextInt(int startInclusive, int endExclusive)
-
-