|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--cern.colt.PersistentObject
|
+--cern.jet.random.AbstractDistribution
|
+--cern.jet.random.AbstractDiscreteDistribution
Abstract base class for all discrete distributions.
| Field Summary |
| Fields inherited from class cern.jet.random.AbstractDistribution |
randomGenerator |
| Constructor Summary | |
protected |
AbstractDiscreteDistribution()
Makes this class non instantiable, but still let's others inherit from it. |
| Method Summary | |
double |
nextDouble()
Returns a random number from the distribution; returns (double) nextInt(). |
abstract int |
nextInt()
Returns a random number from the distribution. |
| Methods inherited from class cern.jet.random.AbstractDistribution |
apply, apply, clone, getRandomGenerator, makeDefaultGenerator, setRandomGenerator |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected AbstractDiscreteDistribution()
| Method Detail |
public double nextDouble()
nextDouble in class AbstractDistributionpublic abstract int nextInt()
nextInt in class AbstractDistribution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||