iDevelopment.info

info.idevelopment.math
Class RandomNumbers

java.lang.Object
  |
  +--info.idevelopment.math.RandomNumbers

public class RandomNumbers
extends java.lang.Object

Used to document and create random numbers. This class also implements many of the conventions used in the "Java Coding and Documenting Conventions" guide within the DBA Documentation Library.

For more information on the different features of Javadoc, visit Javadoc Tool Home Page

Since:
SDK1.4
Version:
1.0,   07-SEP-2002
Author:
Jeffrey Hunter
, jhunter@iDevelopment.info , www.iDevelopment.info

Constructor Summary
RandomNumbers()
           
 
Method Summary
static double getRandomNumber()
          Get a random number from the Java Math class.
static void printRandomOverview()
          Prints a brief overview of how random numbers are gnerated from the Java Math class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomNumbers

public RandomNumbers()
Method Detail

printRandomOverview

public static void printRandomOverview()
Prints a brief overview of how random numbers are gnerated from the Java Math class.


getRandomNumber

public static double getRandomNumber()
Get a random number from the Java Math class. The random number will be in the range [0,1).

Returns:
A random number in the range of [0,1).

iDevelopment.info

Developed by www.iDevelopment.info