Commit Graph

1105 Commits

Author SHA1 Message Date
Stephen Colebourne 685b0bfe61 Add new decorator abstract class for OrderedMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131361 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 22:33:54 +00:00
Stephen Colebourne 6c62213afb Add abstract decorator for OrderedMapIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131360 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 21:53:58 +00:00
Stephen Colebourne 71488d1022 Fix to return correct interface type from factory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131359 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 21:46:41 +00:00
Stephen Colebourne 8f1bdde3d7 Add UnmodifiableOrderedMapIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131358 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 21:45:35 +00:00
Stephen Colebourne fe3315d3c0 Improve ordered map iterator tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131357 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 21:44:58 +00:00
Stephen Colebourne 257ef4a6d4 Better testing of MapIterators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131356 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 00:31:42 +00:00
Stephen Colebourne 367f8710b0 Make ListOrderedMap implement OrderedMap
Improve associated tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131355 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 00:03:06 +00:00
Stephen Colebourne 40e444a3e8 Fix toString on MapIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131354 13f79535-47bb-0310-9956-ffa450edef68
2003-11-19 23:58:11 +00:00
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