Commit Graph

1047 Commits

Author SHA1 Message Date
Stephen Colebourne f32272a4e5 Add mapIterator() to OrderedMapIterator until IterableMap interface created
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131353 13f79535-47bb-0310-9956-ffa450edef68
2003-11-19 23:57:51 +00:00
Stephen Colebourne 8a93f7c452 Fix puAll method to return correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131352 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 23:34:47 +00:00
Stephen Colebourne 473cba8ee3 Move Flat3Map to map subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131351 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 23:23:05 +00:00
Stephen Colebourne 92450f8141 Move BoundedCollection to new collection subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131350 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 22:51:19 +00:00
Stephen Colebourne 6bf2ec4c86 Convert protected methods to public to handle VerifyError
(due to inner classes being unable to see protected methods from another package)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131349 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 22:37:18 +00:00
Stephen Colebourne bf2681bc5b Report more helpfully when errors occur
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131348 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 21:28:16 +00:00
Stephen Colebourne 8b313fecf6 Refactor tests to interface based subpackages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131347 13f79535-47bb-0310-9956-ffa450edef68
2003-11-16 22:15:12 +00:00
Stephen Colebourne 9ccb68523b Rework build script for new test classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131346 13f79535-47bb-0310-9956-ffa450edef68
2003-11-16 21:39:42 +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 1b8c22a7df Refactor decorators to interface based subpackages
(Deprecate decorators subpackage)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131344 13f79535-47bb-0310-9956-ffa450edef68
2003-11-16 00:39:37 +00:00
Stephen Colebourne 335945a34d Refactor decorators to interface based subpackages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131343 13f79535-47bb-0310-9956-ffa450edef68
2003-11-16 00:05:48 +00:00
Stephen Colebourne 1057e36acf Update iterators to be more stadard decorator design
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131342 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 23:50:46 +00:00
Stephen Colebourne 9bc0e82584 Rename ResetableIterator to ResettableIterator
Remove Map and Ordered variants to avoid too many classes


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131341 13f79535-47bb-0310-9956-ffa450edef68
2003-11-14 22:58:27 +00:00
Stephen Colebourne 6941ba1b29 Add OrderedIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131340 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 19:26:29 +00:00
Stephen Colebourne 30a04d30ce Add TreeBidiMap implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131339 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:52:51 +00:00
Stephen Colebourne b43554de6a Update MapIterator to remove asMapEntry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131338 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:49:06 +00:00
Stephen Colebourne 0b990513ea Update tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131337 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:47:38 +00:00
Stephen Colebourne 533ad6c843 Update MapIterator to remove asMapEntry
Add OrderedMapIterator
Rename DefaultMapIterator


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131336 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:43:13 +00:00
Stephen Colebourne 64f3f8e11b Rename BidiMap removeKey to removeValue
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131335 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:40:17 +00:00
Stephen Colebourne c34bf0a54c No change
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131334 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:38:27 +00:00
Rodney Waldhoff 0615ee2d58 deprecate stuff moved to and released from commons-primitives
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131333 13f79535-47bb-0310-9956-ffa450edef68
2003-11-07 20:17:13 +00:00
Rodney Waldhoff f77526c9b1 deprecate stuff moved to and released from commons-primitives
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131332 13f79535-47bb-0310-9956-ffa450edef68
2003-11-07 17:24:13 +00:00
Phil Steitz 8d8d9ed8a2 Added Brian McCallister to contributors, restored alpha sort to developers.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131331 13f79535-47bb-0310-9956-ffa450edef68
2003-11-07 02:26:12 +00:00
Phil Steitz 715e28309f Added CompositeCollection and tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131330 13f79535-47bb-0310-9956-ffa450edef68
2003-11-07 02:10:13 +00:00
Stephen Colebourne 5419c63de8 Complete OrderedMap with MapIterator
Ensure fully tested


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131329 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 23:36:23 +00:00
Stephen Colebourne 7e42e5fed7 Avoid infinite loop in test framework
Simplify error messges


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131328 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 23:35:35 +00:00
Stephen Colebourne 99fdf11f8a Better error message
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131327 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 23:34:46 +00:00
Stephen Colebourne 429c850d43 Add basic performance test shell for testing maps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131326 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 23:43:00 +00:00
Stephen Colebourne c72a7267db Add Flat3Map, a new map design for small Maps that is faster than HashMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131325 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 23:41:46 +00:00
Stephen Colebourne 37e9c49744 Add a default MapIterator implementation that wraps a Map entrySet
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131324 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 23:40:53 +00:00
Stephen Colebourne 98b5e51dfa More release notes work for 3.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131323 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 23:08:16 +00:00
Stephen Colebourne 559db22fc2 Integrate new MapIterator tests into DualBidiMap tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131322 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 19:48:39 +00:00
Stephen Colebourne 1bec2d62d7 Enable iterator testing to better integrate with collection/map tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131321 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 19:47:10 +00:00
Stephen Colebourne 792b248c3c Add TiedMapEntry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131320 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 19:45:48 +00:00
Stephen Colebourne 7040e31845 Remove [ ] from toString
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131319 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 19:44:37 +00:00
Stephen Colebourne 623af3b79d Add UnmodifiableMapIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131318 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 18:29:59 +00:00
Stephen Colebourne b4f545f3f3 Correct errors in testing exceptions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131317 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 18:29:33 +00:00
Stephen Colebourne 60fcc4fb8d Add UnmodifiableIterator classes to iterators package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131316 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 17:26:36 +00:00
Stephen Colebourne e1f52a4797 Add UnmodifiableMapEntry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131315 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 17:06:59 +00:00
Stephen Colebourne c4b3f3ad02 Marker interface for unmodifiable collections/maps/iterators/pairs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131314 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 17:05:50 +00:00
Stephen Colebourne 4b084fad6e Refactor ProxyIterators to AbstractDecorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131313 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 16:29:12 +00:00
Stephen Colebourne d3248e3613 Organize imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131312 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 16:21:16 +00:00
Stephen Colebourne ac2fee8845 More work around the MapIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131311 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 15:27:54 +00:00
Stephen Colebourne 3ec38d1ba2 Clearer test error messages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131310 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 15:27:05 +00:00
Stephen Colebourne be74e690e0 Add extra tests for maps
Make the tests pass


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131309 13f79535-47bb-0310-9956-ffa450edef68
2003-11-01 18:47:18 +00:00
Stephen Colebourne 5acf38c49a Document the existence of the new DualHashBidiMap/DualTreeBidiMap classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131308 13f79535-47bb-0310-9956-ffa450edef68
2003-11-01 18:45:48 +00:00
Stephen Colebourne 869d20576b Add DualTreeBidiMap implementation and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131307 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:26:25 +00:00
Stephen Colebourne 27a00be12e Add a lot of tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131306 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:25:45 +00:00
Stephen Colebourne 2029f95ea2 Ensure that values returned are in same order as keys
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131305 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:25:24 +00:00
Stephen Colebourne 27a4c25922 Allow subclasses to change the confirmed map
Ensure views pickup correct serialization methods


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131304 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:24:32 +00:00