Name: mgC56079 Date: 05/15/98
These are the problems with javadoc of jdk1.2beta4E:
1. Javadoc says:
"The algorithms implemented by class <tt>Random</tt> use three state
variables, which are protected"
These variables are private, not protected.
2. JavaDoc for methods
nextInt()
nextLong()
nextFloat()
nextDouble()
nextGaussian()
incorrectly mention setSeed method:
"The method setSeed is implemented by class Random as follows ... "
^^^^^^^
3. Spec for method nextBytes is incomplete:
/**
* Generates a user specified number of random bytes.
*
* @since JDK1.1
*/
public void nextBytes(byte[] bytes)
It should specify the exact behaviour.
======================================================================