public class Poisson extends AbstractRandom
Constructor and Description |
---|
Poisson(double lambda)
Creates a new instance based on the current simulator's random generator.
|
Poisson(double lambda,
Random generator) |
Modifier and Type | Method and Description |
---|---|
double |
nextDouble() |
nextBoolean, nextByte, nextFloat, nextInt, nextLong, nextShort
public Poisson(double lambda, Random generator)
lambda
- (see Poisson
).generator
- public Poisson(double lambda)
Poisson(double, Random)
public double nextDouble()
nextDouble
in interface NumberGenerator
nextDouble
in class AbstractRandom