Commit Graph

1047 Commits

Author SHA1 Message Date
Stephen Colebourne 32200eb896 Unify handling of equals and hashCode
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131453 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 23:22:54 +00:00
Stephen Colebourne ceb49988b8 Update serialization handling with tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131452 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 23:09:26 +00:00
Stephen Colebourne ae60862fd6 Fix test class to not hard code empty Bag
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131451 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 22:38:32 +00:00
Stephen Colebourne 7801d45353 Solve deprecations, fix bug in test
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131450 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 17:31:41 +00:00
Stephen Colebourne 8d031df1a0 Document new CursorableLinkedList
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131449 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:24:09 +00:00
Stephen Colebourne cbca9a2056 Deprecate to new version in list subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131448 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:19:38 +00:00
Stephen Colebourne 0b9cb552be Add CursorableLinkedList to list subpackage
Rework AbstractLL/NodeCachingLL to allow for this
Update tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131447 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:15:40 +00:00
Stephen Colebourne abb9990e0d Fix bugs identified by extended list iterator tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131446 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:13:55 +00:00
Stephen Colebourne 2794a98e3c Make use of proper list iterator tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131445 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:13:13 +00:00
Stephen Colebourne 7cdc68b01b Improve list iterator tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131444 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:12:55 +00:00
Phil Steitz fae8897bc4 Added CompositeSet, CompositeMap contributed by Brian McCallister.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131443 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 21:42:55 +00:00
Stephen Colebourne d9883f168e Fix bug in remove method from coverage testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131442 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 16:10:38 +00:00
Stephen Colebourne 344f977b63 Fix reference to moved Sun page
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131441 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 13:01:32 +00:00
Stephen Colebourne daff346e09 Add additional tests for coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131440 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 13:01:07 +00:00
Stephen Colebourne c45a13dee2 Fix bug in remove method from coverage testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131439 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 13:00:03 +00:00
Stephen Colebourne f3eec92e78 Fix bug in iterator method from coverage testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131438 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 12:59:38 +00:00
Stephen Colebourne 47f07189d4 Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131437 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 12:54:42 +00:00
Stephen Colebourne 41deb399a2 Update javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131436 13f79535-47bb-0310-9956-ffa450edef68
2003-12-13 23:51:28 +00:00
Stephen Colebourne 6b8aad6314 Add package html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131435 13f79535-47bb-0310-9956-ffa450edef68
2003-12-13 23:33:11 +00:00
Stephen Colebourne 4ac240368a Update to new location on Sun website
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131434 13f79535-47bb-0310-9956-ffa450edef68
2003-12-13 23:28:43 +00:00
Stephen Colebourne a9bee7354a Add access method for primitive types
from Ashwin S


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131433 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 23:45:02 +00:00
Stephen Colebourne 6fc38cb3bf Update package javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131432 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 23:15:12 +00:00
Stephen Colebourne c41b34505b Improve javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131431 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 23:01:02 +00:00
Stephen Colebourne f0f4b38270 Implement BoundedCollection interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131430 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 23:00:32 +00:00
Stephen Colebourne 5684754908 Implement BoundedMap interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131429 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 22:55:25 +00:00
Stephen Colebourne 95f17c0843 Add BoundedMap to sit alongside BoundedCollection
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131428 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 22:48:52 +00:00
Stephen Colebourne 78bdfa2962 Update javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131427 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 22:48:09 +00:00
Arun Thomas 797c2809f8 Added self as committer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131426 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 00:56:47 +00:00
Stephen Colebourne ba1caedfd9 Deprecate LRUMap for new version in map subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131425 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 00:46:45 +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 7feafdc4de Handle structural modify maps better
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131423 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 00:45:25 +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 c784488a2c Improve serialization tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131421 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 00:16:02 +00:00
Stephen Colebourne 9e9b4858b1 Remove JDK1.4 classes from CVS
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131420 13f79535-47bb-0310-9956-ffa450edef68
2003-12-08 22:05:10 +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 4f699c8628 Additional testing of new maps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131417 13f79535-47bb-0310-9956-ffa450edef68
2003-12-07 01:22:50 +00:00
Stephen Colebourne cfb3754d15 Enable LRUMap testing by adding isGetStructuralModify()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131416 13f79535-47bb-0310-9956-ffa450edef68
2003-12-07 01:21:51 +00:00
Stephen Colebourne 5b9d61cdbd Remove commented out code now replaced with better code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131415 13f79535-47bb-0310-9956-ffa450edef68
2003-12-07 01:15:36 +00:00
Stephen Colebourne 570ddedd98 Unify exception messages across map implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131414 13f79535-47bb-0310-9956-ffa450edef68
2003-12-06 14:02:11 +00:00
Stephen Colebourne 5f8fc2f974 Ensure all MapEntry implementation are also KeyValue implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131413 13f79535-47bb-0310-9956-ffa450edef68
2003-12-06 13:03:15 +00:00
Stephen Colebourne 5457ede14f Rename pairs subpackage to keyvalue
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131412 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 20:25:26 +00:00
Stephen Colebourne f381962f52 Ensure the tests use the correct Bag implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131411 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 20:22:12 +00:00
Stephen Colebourne e798e2b7a7 Add LinkedMap map implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131410 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 19:23:08 +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 9fb3ef3b2b Change to use HashedMap instead of HashMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131408 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 19:03:50 +00:00
Stephen Colebourne 81a3a4f457 Improve testing of iterators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131407 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 19:03:21 +00:00
Stephen Colebourne cc584dd49a Refactor ReferenceMap to map subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131406 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 15:50:12 +00:00
Stephen Colebourne 399fad2001 Refactor StaticBucketMap to map subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131405 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 15:16:49 +00:00
Stephen Colebourne 982ce83646 Update package description
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131404 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 15:15:16 +00:00