Author: britter
Date: Sun Oct 19 10:10:45 2014
New Revision: 1632886
URL: http://svn.apache.org/r1632886
Log:
COLLECTIONS-535: Clarify JavaDoc of MultiKey getKey() and size(). This closes
#4 from github. Thanks to Alexander Kjäll
Modified:
commons/proper/collections/trunk/src/changes/changes.xml
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/keyvalue/MultiKey.java
Modified: commons/proper/collections/trunk/src/changes/changes.xml
URL:
http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/changes/changes.xml?rev=1632886&r1=1632885&r2=1632886&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/changes/changes.xml (original)
+++ commons/proper/collections/trunk/src/changes/changes.xml Sun Oct 19
10:10:45 2014
@@ -22,6 +22,9 @@
<body>
<release version="4.1" date="TBD" description="">
+ <action issue="COLLECTIONS-535" dev="britter" type="update"
due-to="Alexander Kjäll">
+ Clarify JavaDoc of MultiKey getKey() and size()
+ </action>
<action issue="COLLECTIONS-529" dev="tn" type="add" due-to="Alexander
Muthmann, Dipanjan Laha">
Added methods "removeAll(...)" and "retainAll(...)" to "CollectionUtils"
that perform
equality checks using the provided "Equator" object instead of
"Object#equals()".
Modified:
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/keyvalue/MultiKey.java
URL:
http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/keyvalue/MultiKey.java?rev=1632886&r1=1632885&r2=1632886&view=diff
==============================================================================
---
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/keyvalue/MultiKey.java
(original)
+++
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/keyvalue/MultiKey.java
Sun Oct 19 10:10:45 2014
@@ -182,7 +182,8 @@ public class MultiKey<K> implements Seri
}
/**
- * Gets the key at the specified index.
+ * Gets the key at the specified index.
+ * The index enumeration starts at 0.
* <p>
* The key should be immutable.
* If it is not then it must not be changed.
@@ -197,7 +198,7 @@ public class MultiKey<K> implements Seri
}
/**
- * Gets the size of the list of keys.
+ * Gets the size of the list of keys, this number is the number of values
this object was created with.
*
* @return the size of the list of keys
* @since 3.1