commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1229048 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/RandomDataImpl.java
Date Mon, 09 Jan 2012 07:48:28 GMT
Author: celestin
Date: Mon Jan  9 07:48:27 2012
New Revision: 1229048

URL: http://svn.apache.org/viewvc?rev=1229048&view=rev
Log:
Javadoc (MATH-730).

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/RandomDataImpl.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/RandomDataImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/RandomDataImpl.java?rev=1229048&r1=1229047&r2=1229048&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/RandomDataImpl.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/RandomDataImpl.java
Mon Jan  9 07:48:27 2012
@@ -590,6 +590,8 @@ public class RandomDataImpl implements R
      * @param upper the upper bound.
      * @return a uniformly distributed random value from the interval (lower, upper)
      * @throws NumberIsTooLargeException if {@code lower >= upper}
+     * @throws MathIllegalArgumentException if one of the bounds is infinite of
+     * {@code NaN}
      * or either bound is infinite or NaN
      */
     public double nextUniform(double lower, double upper) {
@@ -614,7 +616,9 @@ public class RandomDataImpl implements R
      *            whether the lower bound is included in the interval
      * @return a uniformly distributed random value from the interval (lower,
      *         upper)
-     * @throws NumberIsTooLargeException if {@code lower >= upper}.
+     * @throws NumberIsTooLargeException if {@code lower >= upper}
+     * @throws MathIllegalArgumentException if one of the bounds is infinite of
+     * {@code NaN}
      * @since 3.0
      */
     public double nextUniform(double lower, double upper, boolean lowerInclusive) {



Mime
View raw message