Commit Graph

936 Commits

Author SHA1 Message Date
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
Stephen Colebourne 165f6f675a Improve error messages in verify
Fix bug when TreeMap EntrySet used


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131303 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:23:10 +00:00
Stephen Colebourne c0968cfcee Fix problem where views were being incorrectly created
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131302 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 23:49:18 +00:00
Gary D. Gregory 2e53e15a14 Unnecessary semicolons.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131301 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 23:21:39 +00:00
Stephen Colebourne eda112cfac Add MapIterator to BidiMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131300 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 00:06:25 +00:00
Gary D. Gregory fd398f99d8 Integrate TestEnumerationUtils into test suite.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131299 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 18:56:12 +00:00
Gary D. Gregory d7b20360c5 New class EnumerationUtils.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131298 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 18:48:10 +00:00
Gary D. Gregory a49995ec8f Javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131297 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 02:44:51 +00:00
Matthew Hawthorne 7465a2eedb Adding correct link to commons navigation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131296 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 23:51:27 +00:00
Rodney Waldhoff 94d7692231 fix and re-enable build-validate-testframework
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131295 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 23:08:21 +00:00
Rodney Waldhoff e288d25eda temporarily disable build-validate-testframework to allow "ant dist" to complete
(see note on dev list)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131294 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 16:17:26 +00:00
Rodney Waldhoff 1c03fba7d3 build testframework jar on dist
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131293 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 16:13:03 +00:00