Creates a new XorShiftRandom instance seeded with the given hex string.
Creates a new XorShiftRandom instance seeded with the given hex string.
The given string must either be emtpy or consist of exactly 32 hex characters.
If the string is empty the instance is seeded with current System.nanoTime()
.
Creates a new XorShiftRandom instance seeded either with a Long tuple or the current System.nanoTime()
.
Creates a new XorShiftRandom instance seeded with the given Long tuple.
Creates a new XorShiftRandom instance seeded with the given Longs.
Creates a new XorShiftRandom instance seeded with the current System.nanoTime()
.
Formats a pair of Longs into a 32-digit hex-string that can be used with the parseSeed
method.
Formats a pair of Longs into a 32-digit hex-string that can be used with the parseSeed
method.
Parses a 32-digit hex-string into a pair of Longs, if the given string is non-empty.