net.sf.farrago.test.regression
Class FarragoSorterTest.UniformDistributionGenerator

java.lang.Object
  extended by net.sf.farrago.test.regression.FarragoSorterTest.DistributionGenerator
      extended by net.sf.farrago.test.regression.FarragoSorterTest.UniformDistributionGenerator
Enclosing class:
FarragoSorterTest

private static class FarragoSorterTest.UniformDistributionGenerator
extends FarragoSorterTest.DistributionGenerator


Field Summary
(package private)  long maxValue
           
(package private)  Random random
           
 
Fields inherited from class net.sf.farrago.test.regression.FarragoSorterTest.DistributionGenerator
nRecords
 
Constructor Summary
FarragoSorterTest.UniformDistributionGenerator(long nRecords, long maxValue)
           
 
Method Summary
(package private)  long generateValue(long pk)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

random

Random random

maxValue

long maxValue
Constructor Detail

FarragoSorterTest.UniformDistributionGenerator

FarragoSorterTest.UniformDistributionGenerator(long nRecords,
                                               long maxValue)
Method Detail

generateValue

long generateValue(long pk)
Specified by:
generateValue in class FarragoSorterTest.DistributionGenerator