Package org.apache.hadoop.hbase.util
Class RandomDistribution
java.lang.Object
org.apache.hadoop.hbase.util.RandomDistribution
A class that generates random numbers that follow some distribution.
Copied from hadoop-3315 tfile. Remove after tfile is committed and use the tfile version of this class instead.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Binomial distribution.static interface
Interface for discrete (integer) random distributions.static final class
P(i)=1/(max-min)static final class
Zipf distribution. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
RandomDistribution
public RandomDistribution()
-