cynosurex.util
Class RandomNumber

java.lang.Object
  extended by java.util.Random
      extended by cynosurex.util.RandomNumber
All Implemented Interfaces:
cynosurex.internal.AuthorCommon, cynosurex.internal.CommonInterface, cynosurex.internal.CompanyCommon, java.io.Serializable

public class RandomNumber
extends java.util.Random
implements cynosurex.internal.CommonInterface

RandomNumber makes it easy to generate random numbers within a range.

Version:
1.1
Author:
Chieh Cheng
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface cynosurex.internal.CommonInterface
copyright, copyrightYears, notice, program, version
 
Fields inherited from interface cynosurex.internal.AuthorCommon
author, copyrightSymbol, noticeMsg, rights
 
Fields inherited from interface cynosurex.internal.CompanyCommon
company, email, website
 
Constructor Summary
RandomNumber()
           
 
Method Summary
 int generateInteger(int min, int max)
           
 
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

RandomNumber

public RandomNumber()
Method Detail

generateInteger

public int generateInteger(int min,
                           int max)