Modifier and Type | Field and Description |
---|---|
private static long |
addend |
private static long |
multiplier |
private long |
seed |
private static AtomicLong |
seedUniquifier |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Random64 is a pseudorandom algorithm(LCG).
|
private long |
next64(int bits) |
void |
nextBytes(byte[] bytes) |
long |
nextLong() |
private static long |
seedUniquifier()
Copy from
Random.seedUniquifier() |
private static final long multiplier
private static final long addend
private static final AtomicLong seedUniquifier
private long seed
private static long seedUniquifier()
Random.seedUniquifier()
public long nextLong()
public void nextBytes(byte[] bytes)
private long next64(int bits)
public static void main(String[] args)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.