public class LinearCongruentialGenerator
extends Object
implements PrimitiveIterator.OfInt
Constructor and Description |
---|
LinearCongruentialGenerator(int max,
Random random) |
Modifier and Type | Method and Description |
---|---|
LinearCongruentialGenerator |
clone() |
void |
dump(Path p) |
boolean |
hasNext() |
int |
nextInt() |
static int |
nextPowerOf2(int i) |
Spliterator.OfInt |
spliterator() |
public LinearCongruentialGenerator(int max, Random random)
public static int nextPowerOf2(int i)
public boolean hasNext()
hasNext
in interface Iterator<Integer>
public int nextInt()
nextInt
in interface PrimitiveIterator.OfInt
public LinearCongruentialGenerator clone()
clone
in class Object
public void dump(Path p)
public Spliterator.OfInt spliterator()