Commit Graph

977 Commits

Author SHA1 Message Date
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
Stephen Colebourne 7af9515a22 Fix deprecation by referencing the correct BinaryHeap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131403 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 14:39:42 +00:00
Stephen Colebourne 165764ef73 Add unmodifiable BidiMap decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131402 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 14:03:35 +00:00
Stephen Colebourne ffc9ebb3c6 Fix tests to support unmodifiable test cases
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131401 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 14:02:49 +00:00
Stephen Colebourne 66ca5337e6 Add unmodifiable BidiMap decorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131400 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 12:59:37 +00:00
Stephen Colebourne 7a58d2f1b8 Update and make consistent the Unmodifiable decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131399 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 12:27:37 +00:00
Stephen Colebourne aae1dcdb92 Improve package html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131398 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 12:23:19 +00:00
Stephen Colebourne 3c5ad2e9ae Use the Unmodifiable decorators everywhere
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131397 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 11:37:44 +00:00
Stephen Colebourne 1064cdbedb Update and make consistent the Unmodifiable decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131396 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 11:19:10 +00:00
Stephen Colebourne 39a29b486d File layout
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131395 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 11:17:36 +00:00
Stephen Colebourne 75443cb0fd Update the associated package html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131394 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 01:05:31 +00:00
Stephen Colebourne c87c643b08 Optimise the remove method on a bag
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131393 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 01:02:32 +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 2e14c5efe8 Rename AMap to IterableMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131391 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 23:51:50 +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 5457921e7e Update the associated package html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131389 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 23:39:48 +00:00
Stephen Colebourne ae8ad94a24 Add new faster Bag implementations in bag subpackage
Deprecate originals in main package


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131388 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 23:36:12 +00:00
Stephen Colebourne b67ef9b935 Add IdentityMap implementation for reference comparisons
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131387 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 21:57:08 +00:00
Stephen Colebourne 145e6c8a33 Fix bug in error message text
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131386 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 21:56:34 +00:00
Stephen Colebourne cb78386402 Comment out tests that fail for the moment - race condition
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131385 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 00:44:13 +00:00
Stephen Colebourne d5da5df231 Fix method scopes
Fix bug in HashEntry


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131384 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 00:37:11 +00:00