git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2012-11-24 03:51:40 +00:00
parent 3467a4bcd3
commit 15560aaba5
2 changed files with 4 additions and 4 deletions

View File

@ -192,7 +192,7 @@ public interface RandomData {
* (exclusive) * (exclusive)
* @throws NumberIsTooLargeException if {@code lower >= upper} * @throws NumberIsTooLargeException if {@code lower >= upper}
* @throws NotFiniteNumberException if one of the bounds is infinite * @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) double nextUniform(double lower, double upper)
throws NumberIsTooLargeException, NotFiniteNumberException, NotANumberException; throws NumberIsTooLargeException, NotFiniteNumberException, NotANumberException;
@ -218,7 +218,7 @@ public interface RandomData {
* {@code true} * {@code true}
* @throws NumberIsTooLargeException if {@code lower >= upper} * @throws NumberIsTooLargeException if {@code lower >= upper}
* @throws NotFiniteNumberException if one of the bounds is infinite * @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) double nextUniform(double lower, double upper, boolean lowerInclusive)
throws NumberIsTooLargeException, NotFiniteNumberException, NotANumberException; throws NumberIsTooLargeException, NotFiniteNumberException, NotANumberException;

View File

@ -517,7 +517,7 @@ public class RandomDataGenerator implements RandomData, Serializable {
* </p> * </p>
* @throws NumberIsTooLargeException if {@code lower >= upper} * @throws NumberIsTooLargeException if {@code lower >= upper}
* @throws NotFiniteNumberException if one of the bounds is infinite * @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) public double nextUniform(double lower, double upper)
throws NumberIsTooLargeException, NotFiniteNumberException, NotANumberException { throws NumberIsTooLargeException, NotFiniteNumberException, NotANumberException {
@ -537,7 +537,7 @@ public class RandomDataGenerator implements RandomData, Serializable {
* *
* @throws NumberIsTooLargeException if {@code lower >= upper} * @throws NumberIsTooLargeException if {@code lower >= upper}
* @throws NotFiniteNumberException if one of the bounds is infinite * @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) public double nextUniform(double lower, double upper, boolean lowerInclusive)
throws NumberIsTooLargeException, NotFiniteNumberException, NotANumberException { throws NumberIsTooLargeException, NotFiniteNumberException, NotANumberException {