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
Nested ClassesModifier and TypeClassDescriptionstatic final classBinomial distribution.static interfaceInterface for discrete (integer) random distributions.static final classP(i)=1/(max-min)static final classZipf distribution. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RandomDistribution
public RandomDistribution()
-