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 2015/08/22 15:28:49 UTC
[math] Trailing white-space. Javadoc.
Repository: commons-math
Updated Branches:
refs/heads/master 72a46babe -> 1c194a0dc
Trailing white-space. Javadoc.
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/1c194a0d
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/1c194a0d
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/1c194a0d
Branch: refs/heads/master
Commit: 1c194a0dccec3322036e741042761d46ae0d8a44
Parents: 72a46ba
Author: Gilles <er...@apache.org>
Authored: Sat Aug 22 15:27:42 2015 +0200
Committer: Gilles <er...@apache.org>
Committed: Sat Aug 22 15:27:42 2015 +0200
----------------------------------------------------------------------
.../java/org/apache/commons/math4/util/MathArrays.java | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-math/blob/1c194a0d/src/main/java/org/apache/commons/math4/util/MathArrays.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/util/MathArrays.java b/src/main/java/org/apache/commons/math4/util/MathArrays.java
index 3d8330f..2206a2c 100644
--- a/src/main/java/org/apache/commons/math4/util/MathArrays.java
+++ b/src/main/java/org/apache/commons/math4/util/MathArrays.java
@@ -452,7 +452,7 @@ public class MathArrays {
int[] b) {
checkEqualLength(a, b, true);
}
-
+
/**
* Check that the given array is sorted.
*
@@ -766,22 +766,29 @@ public class MathArrays {
}
/**
- * A helper data structure holding a double and an integer value.
+ * Helper data structure holding a (double, integer) pair.
*/
private static class PairDoubleInteger {
-
+ /** Key */
private final double key;
+ /** Value */
private final int value;
+ /**
+ * @param key Key.
+ * @param value Value.
+ */
public PairDoubleInteger(double key, int value) {
this.key = key;
this.value = value;
}
+ /** @return the key. */
public double getKey() {
return key;
}
+ /** @return the value. */
public int getValue() {
return value;
}