org.statcato.random
Class IntegerSample

java.lang.Object
  extended by java.util.Random
      extended by org.statcato.random.IntegerSample
All Implemented Interfaces:
java.io.Serializable

public class IntegerSample
extends java.util.Random

A random sampler for a range of integers, defined by the minimum and maximum of the range.

Since:
1.0
Version:
%I%, %G%
Author:
Margaret Yau
See Also:
Serialized Form

Constructor Summary
IntegerSample(int minimum, int maximum)
           
 
Method Summary
 int nextSample()
           
 
Methods inherited from class java.util.Random
next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerSample

public IntegerSample(int minimum,
                     int maximum)
Method Detail

nextSample

public int nextSample()