You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/04/09 16:35:10 UTC
cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/keyvalue TiedMapEntry.java
scolebourne 2004/04/09 07:35:10
Modified: collections RELEASE-NOTES.html
collections/src/java/org/apache/commons/collections/keyvalue
TiedMapEntry.java
Log:
Make TiedMapEntry serializable
Revision Changes Path
1.29 +13 -6 jakarta-commons/collections/RELEASE-NOTES.html
Index: RELEASE-NOTES.html
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/RELEASE-NOTES.html,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- RELEASE-NOTES.html 7 Apr 2004 23:17:25 -0000 1.28
+++ RELEASE-NOTES.html 9 Apr 2004 14:35:10 -0000 1.29
@@ -26,18 +26,13 @@
<center><h3>NEW CLASSES</h3></center>
<ul>
<li>TransformedPredicate - A predicate where the input object is transformed [26946]</li>
+<li>ObjectGraphIterator - An iterator that can iterate over a graph of objects</li>
</ul>
<center><h3>ENHANCEMENTS</h3></center>
<ul>
<li>ReferenceMap - Changed to extend AbstractHashedMap, thus gaining a mapIterator() and subclassability</li>
-<li>Fast3Map - Make Serializable [27946]</li>
<li>Fast3Map - Add clone() method</li>
-<li>FixedSizeMap - Make Serializable [18815]</li>
-<li>FixedSizeSortedMap - Make Serializable [18815]</li>
-<li>LazyMap - Make Serializable [18815]</li>
-<li>LazySortedMap - Make Serializable [18815]</li>
-<li>ListOrderedMap - Make Serializable [18815]</li>
<li>MultiKey - Add getKey(index) and size() methods and make constructor public</li>
<li>MultiHashMap - Add five methods to improve the API</li>
<li>AbstractHashedMap,AbstractLinkedMap - Add methods to access entry methods when protected scope blocks</li>
@@ -45,6 +40,18 @@
<li>Functors - Add additional getInstance() methods for consistency [27856,27857]</li>
<li>CollectionUtils - get(Object,int) method now supports primitive arrays</li>
<li>CollectionUtils - Add size(Object) method to find the size of various collection-like objects [27909]</li>
+</ul>
+
+<h4>Made Serializable</h4>
+<ul>
+<li>Fast3Map [27946]</li>
+<li>FixedSizeMap/SortedMap [18815]</li>
+<li>LazyMap/SortedMap [18815]</li>
+<li>ListOrderedMap [18815]</li>
+<li>PredicatedMap/SortedMap [18815]</li>
+<li>TransformedMap/SortedMap [18815]</li>
+<li>UnmodifiableMap/SortedMap/OrderedMap [18815]</li>
+<li>TiedMapEntry</li>
</ul>
<center><h3>BUG FIXES</h3></center>
1.5 +6 -2 jakarta-commons/collections/src/java/org/apache/commons/collections/keyvalue/TiedMapEntry.java
Index: TiedMapEntry.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/keyvalue/TiedMapEntry.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TiedMapEntry.java 18 Feb 2004 01:00:08 -0000 1.4
+++ TiedMapEntry.java 9 Apr 2004 14:35:10 -0000 1.5
@@ -15,6 +15,7 @@
*/
package org.apache.commons.collections.keyvalue;
+import java.io.Serializable;
import java.util.Map;
import org.apache.commons.collections.KeyValue;
@@ -30,7 +31,10 @@
*
* @author Stephen Colebourne
*/
-public class TiedMapEntry implements Map.Entry, KeyValue {
+public class TiedMapEntry implements Map.Entry, KeyValue, Serializable {
+
+ /** Serialization version */
+ private static final long serialVersionUID = -8453869361373831205L;
/** The map underlying the entry/iterator */
private final Map map;
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org