Commit Graph

55 Commits

Author SHA1 Message Date
Henri Yandell 6965d41836 Applying my patch from COLLECTIONS-221 - making the CompositeMap, CompositeSet and CompositeCollection serializable. The only difference from the patch is that the creation of the obj files in TestCompositeMap is commented out
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@655751 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 06:53:35 +00:00
James W. Carman 420a1017eb 37473: Implement a BoundedBuffer class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348429 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 13:16:43 +00:00
James W. Carman 5c22988774 Removing TimeoutBuffer (BlockingBuffer will be enhanced instead).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348426 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 13:02:10 +00:00
James W. Carman 8e3968cd11 Bug 37472: Implement a TimeoutBuffer class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@332643 13f79535-47bb-0310-9956-ffa450edef68
2005-11-11 20:39:13 +00:00
Stephen Colebourne 4fd151ac2d Make PriorityBuffer Serializable
bug 36163, from Steve Phelps

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@307292 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 12:49:53 +00:00
Stephen Colebourne d65e2938fc Add GrowthList, an auto-grow on set/add list
bug 34171

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170432 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 19:25:46 +00:00
Stephen Colebourne 4b460152a1 Add DefaultedMap that returns a default value if the key is not in the map
RFE 30911, by Rafael U. C. Afonso

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@159154 13f79535-47bb-0310-9956-ffa450edef68
2005-03-27 16:02:24 +00:00
Stephen Colebourne 46fd2cb394 Test DualTreeBidiMap with comparator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131789 13f79535-47bb-0310-9956-ffa450edef68
2004-06-11 23:29:07 +00:00
Stephen Colebourne f98c8827f6 Reinstate FixedSizeSortedMap superclass to avoid binary incompatibility
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131771 13f79535-47bb-0310-9956-ffa450edef68
2004-06-03 22:26:52 +00:00
Stephen Colebourne 3bdfa558f2 Make buffers serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131767 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 23:12:45 +00:00
Stephen Colebourne e00f903d7e Make decorator classes serializable, bug 18815
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131766 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 22:15:02 +00:00
Stephen Colebourne 1093d39c11 Make synchronized classes serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131764 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 23:09:27 +00:00
Stephen Colebourne 96b3668d4a Make UnboundedFifo serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131762 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 22:58:21 +00:00
Stephen Colebourne c1576044be Change MultiKeyMap to be a decorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131689 13f79535-47bb-0310-9956-ffa450edef68
2004-04-30 23:51:36 +00:00
Stephen Colebourne a803d3b7b6 Add ReferenceIdentityMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131683 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 21:37:32 +00:00
Stephen Colebourne 6f10e417e1 Make ReferenceMap serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131682 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 21:35:23 +00:00
Stephen Colebourne 9cfe01cf6d Add MultiKeyMap implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131664 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 12:05:30 +00:00
Stephen Colebourne 60dc88188c Change TransformedMap test cases to use good Transformer for serialization
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131659 13f79535-47bb-0310-9956-ffa450edef68
2004-04-10 22:22:57 +00:00
Stephen Colebourne 194c96f33b Add fully featured SingletonMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131643 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 14:46:35 +00:00
Stephen Colebourne 3c1749c51b Make unmodifiable maps Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131637 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 10:46:32 +00:00
Stephen Colebourne ac6c18f090 Simplify the decorator serialization, add javadoc [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131636 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 10:36:02 +00:00
Stephen Colebourne a05ca20552 Make UnmodifiableMap Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131635 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 10:32:25 +00:00
Stephen Colebourne dcfc9f4ac2 Make Predicated and Transformed maps Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131634 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 09:43:09 +00:00
Stephen Colebourne 70dc4fb1c3 Make ListOrderedMap Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131629 13f79535-47bb-0310-9956-ffa450edef68
2004-04-07 23:17:25 +00:00
Stephen Colebourne bef34f2326 Make LazyMap/LazySortedMap Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131628 13f79535-47bb-0310-9956-ffa450edef68
2004-04-07 23:05:37 +00:00
Stephen Colebourne b3c30a8d97 Make FixedSizeSortedMap Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131626 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 23:12:34 +00:00
Stephen Colebourne b09e8a2033 Make FixedSizeMap Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131623 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:15:05 +00:00
Stephen Colebourne dce4319552 Make Flat3Map serializable
bug 27946
Add clone() to Flat3Map


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131617 13f79535-47bb-0310-9956-ffa450edef68
2004-03-31 23:18:56 +00:00
Phil Steitz a208743f67 Added Compatability test files for CaseInsensitiveMap.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131514 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 05:25:18 +00:00
Stephen Colebourne 2ec031411c Change order of LRUMap to LRU to MRU
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131424 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 00:46:12 +00:00
Stephen Colebourne 1decf8b6fb Refactor CommonsLinkedList and NodeCachingLinkedList to list subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131422 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 00:18:06 +00:00
Stephen Colebourne c9fc511b34 Refactor HashedMap and LinkedMap into Abstract superclasses
Adjust subclasses appropriately


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131419 13f79535-47bb-0310-9956-ffa450edef68
2003-12-07 23:59:13 +00:00
Stephen Colebourne c32add2800 Add LRUMap implementation
Refactor serialization behaviour in HashedMap hierarchy


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131418 13f79535-47bb-0310-9956-ffa450edef68
2003-12-07 01:23:54 +00:00
Stephen Colebourne a932442109 Add LinkedMap map implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131409 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 19:05:51 +00:00
Stephen Colebourne fc487af406 Make new Bag implementations Serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131392 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 00:49:38 +00:00
Stephen Colebourne 4f0d77bc33 Add IdentityMap implementation for reference comparisons
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131390 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 23:48:13 +00:00
Stephen Colebourne 1740d58606 Serialisation data for tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131381 13f79535-47bb-0310-9956-ffa450edef68
2003-12-01 22:36:56 +00:00
Stephen Colebourne fc74d8d13d Refactor bidimap to interface based subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131345 13f79535-47bb-0310-9956-ffa450edef68
2003-11-16 20:35:47 +00:00
Stephen Colebourne 28e0d76b3a Make DualHashBidiMap serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131273 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 07:50:36 +00:00
Stephen Colebourne 5f31d82006 Fix bug introduced when changing version from 2.2 to 3
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131251 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 21:03:52 +00:00
Rodney Waldhoff 0f4975fe36 adding serialized version of BooleanComparator, enabling relevant tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130928 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 17:08:29 +00:00
Rodney Waldhoff 37b1a12876 apply Rich Dougherty's patch fixing NodeCachingLinkedList unit tests
this also adds CommonsLinkedList and tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130914 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 15:18:15 +00:00
pjack f9d36a36f4 ReferenceMap is no longer serializable. There were issues with its
serialization methods on Java 1.3 (but 1.2 and 1.4 worked).  Issue will
be addressed in a later release.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130801 13f79535-47bb-0310-9956-ffa450edef68
2002-08-19 19:44:59 +00:00
pjack 2d82372ff5 Serialized files for new ReferenceMap.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130759 13f79535-47bb-0310-9956-ffa450edef68
2002-08-12 18:09:03 +00:00
Michael Smith e02e354300 Added a comparator that provides explicit control over comparisons with null.
This can be used to create SortedSets or other sorted collections where nulls
are sorted first or last.  The basis for this comparator was this discussion on
the commons mailing list:

http://www.mail-archive.com/commons-dev%40jakarta.apache.org/msg07762.html


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130710 13f79535-47bb-0310-9956-ffa450edef68
2002-06-09 19:23:53 +00:00
Morgan James Delagrange 96cd122c69 pre-release change to the Serialization format
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130666 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19 22:26:20 +00:00
Morgan James Delagrange ae71f5d386 canonical version for Collections 2.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130636 13f79535-47bb-0310-9956-ffa450edef68
2002-03-07 18:38:26 +00:00
Morgan James Delagrange ad88fe8d45 added canonical versions of all Comparators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130627 13f79535-47bb-0310-9956-ffa450edef68
2002-03-01 19:43:14 +00:00
Morgan James Delagrange 9325e369ac Serialized copies of Collections 1.0 objects
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130607 13f79535-47bb-0310-9956-ffa450edef68
2002-02-26 20:31:23 +00:00
Morgan James Delagrange b94322904e more generic name for serialized collections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130602 13f79535-47bb-0310-9956-ffa450edef68
2002-02-26 18:08:58 +00:00