Make TiedMapEntry serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131638 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3c1749c51b
commit
94fff264aa
|
@ -26,18 +26,13 @@ No interface changes, or deprecations have occurred.
|
|||
<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>
|
||||
|
@ -47,6 +42,18 @@ No interface changes, or deprecations have occurred.
|
|||
<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>
|
||||
<ul>
|
||||
<li>Map/BidiMap implementations only checked key and not value in entry set contains(Object) and remove(Object)</li>
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
*/
|
||||
package org.apache.commons.collections.keyvalue;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.commons.collections.KeyValue;
|
||||
|
@ -26,11 +27,14 @@ import org.apache.commons.collections.KeyValue;
|
|||
* map, however this will probably mess up any iterators.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision: 1.4 $ $Date: 2004/02/18 01:00:08 $
|
||||
* @version $Revision: 1.5 $ $Date: 2004/04/09 14:35: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;
|
||||
|
|
Loading…
Reference in New Issue