public abstract class AbstractDiscreteDistribution extends AbstractDistribution
serialVersionUID| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble()
Returns a random number from the distribution; returns (double) nextInt().
|
abstract int |
nextInt()
Returns a random number from the distribution.
|
apply, apply, clone, makeDefaultGeneratorpublic double nextDouble()
nextDouble in class AbstractDistributionpublic abstract int nextInt()
nextInt in class AbstractDistributionJump to the Colt Homepage