Author: psteitz
Date: Sat Nov 24 03:51:40 2012
New Revision: 1413122
URL: http://svn.apache.org/viewvc?rev=1413122&view=rev
Log:
Javadoc.
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomData.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomData.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomData.java?rev=1413122&r1=1413121&r2=1413122&view=diff
==============================================================================
---
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomData.java
(original)
+++
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomData.java
Sat Nov 24 03:51:40 2012
@@ -192,7 +192,7 @@ public interface RandomData {
* (exclusive)
* @throws NumberIsTooLargeException if {@code lower >= upper}
* @throws NotFiniteNumberException if one of the bounds is infinite
- * @throws NotANumberException if one of the bounds is infinite
+ * @throws NotANumberException if one of the bounds is NaN
*/
double nextUniform(double lower, double upper)
throws NumberIsTooLargeException, NotFiniteNumberException,
NotANumberException;
@@ -218,7 +218,7 @@ public interface RandomData {
* {@code true}
* @throws NumberIsTooLargeException if {@code lower >= upper}
* @throws NotFiniteNumberException if one of the bounds is infinite
- * @throws NotANumberException if one of the bounds is infinite
+ * @throws NotANumberException if one of the bounds is NaN
*/
double nextUniform(double lower, double upper, boolean lowerInclusive)
throws NumberIsTooLargeException, NotFiniteNumberException,
NotANumberException;
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java?rev=1413122&r1=1413121&r2=1413122&view=diff
==============================================================================
---
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java
(original)
+++
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataGenerator.java
Sat Nov 24 03:51:40 2012
@@ -517,7 +517,7 @@ public class RandomDataGenerator impleme
* </p>
* @throws NumberIsTooLargeException if {@code lower >= upper}
* @throws NotFiniteNumberException if one of the bounds is infinite
- * @throws NotANumberException if one of the bounds is not a number
+ * @throws NotANumberException if one of the bounds is NaN
*/
public double nextUniform(double lower, double upper)
throws NumberIsTooLargeException, NotFiniteNumberException,
NotANumberException {
@@ -537,7 +537,7 @@ public class RandomDataGenerator impleme
*
* @throws NumberIsTooLargeException if {@code lower >= upper}
* @throws NotFiniteNumberException if one of the bounds is infinite
- * @throws NotANumberException if one of the bounds is not a number
+ * @throws NotANumberException if one of the bounds is NaN
*/
public double nextUniform(double lower, double upper, boolean
lowerInclusive)
throws NumberIsTooLargeException, NotFiniteNumberException,
NotANumberException {