Commit Graph

1215 Commits

Author SHA1 Message Date
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
Stephen Colebourne b473a5d290 Move iterator interfaces to main package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131383 13f79535-47bb-0310-9956-ffa450edef68
2003-12-01 22:49:00 +00:00
Stephen Colebourne 4610c1a96c More things to ignore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131382 13f79535-47bb-0310-9956-ffa450edef68
2003-12-01 22:37:08 +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 3ee53ef957 Move map interfaces to main package
Add AMap interface
Add HashedMap implementation


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131380 13f79535-47bb-0310-9956-ffa450edef68
2003-12-01 22:34:55 +00:00
Stephen Colebourne e078c03320 Update package overview to reflect class move
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131379 13f79535-47bb-0310-9956-ffa450edef68
2003-12-01 22:05:14 +00:00
Stephen Colebourne b1437124f8 Refactor BoundedCollection interface to main package
All interfaces should be in main package


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131378 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 18:14:20 +00:00
Stephen Colebourne 52da69630a Deprecate now BidiMap package up and running
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131377 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 18:05:39 +00:00
Stephen Colebourne ac0e661a18 Refactor Buffer implementations to buffer subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131376 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 18:04:57 +00:00
Stephen Colebourne 0ef38d17d9 Fix deprecation comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131375 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 17:26:21 +00:00
Stephen Colebourne 921ce7e575 Improve test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131374 13f79535-47bb-0310-9956-ffa450edef68
2003-11-27 23:57:09 +00:00
Stephen Colebourne fb9ab16883 Deprecate observable implementation, as it is moved to the sandbox
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131373 13f79535-47bb-0310-9956-ffa450edef68
2003-11-27 22:55:16 +00:00
Stephen Colebourne dbd5cb3ae8 Fix to testframework javadoc build for gump
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131372 13f79535-47bb-0310-9956-ffa450edef68
2003-11-26 02:26:42 +00:00