You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2011/09/22 14:35:47 UTC
svn commit: r1174092 -
/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
Author: erans
Date: Thu Sep 22 12:35:47 2011
New Revision: 1174092
URL: http://svn.apache.org/viewvc?rev=1174092&view=rev
Log:
Minor fixes (Javadoc formatting).
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java?rev=1174092&r1=1174091&r2=1174092&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java Thu Sep 22 12:35:47 2011
@@ -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,