Minor fixes (Javadoc formatting).

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1174092 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2011-09-22 12:35:47 +00:00
parent 257d7c7c85
commit 7222fd432e
1 changed files with 6 additions and 5 deletions

View File

@ -1949,13 +1949,14 @@ public final class MathUtils {
/** Constant for decreasing direction. */
DECREASING
}
/**
* Check that an array is monotone increasing or decreasing
/**
* Check that an array is monotone increasing or decreasing.
*
* @param val Values.
* @param dir Ordering direction.
* @param strict Whether the order should be strict.
* @return {@code true} if sorted, {@code false} otherwise
* @return {@code true} if sorted, {@code false} otherwise.
*/
public static boolean isMonotone(Comparable[] val,
OrderDirection dir,
@ -2000,12 +2001,12 @@ public final class MathUtils {
}
/**
* Check that an array is monotone increasing or decreasing
* Check that an array is monotone increasing or decreasing.
*
* @param val Values.
* @param dir Ordering direction.
* @param strict Whether the order should be strict.
* @return {@code true} if sorted, {@code false} otherwise
* @return {@code true} if sorted, {@code false} otherwise.
*/
public static boolean isMonotone(double[] val,
OrderDirection dir,