Commit Graph

1019 Commits

Author SHA1 Message Date
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
Stephen Colebourne 7b2c75144d Handle testing data of size 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131292 13f79535-47bb-0310-9956-ffa450edef68
2003-10-20 22:58:28 +00:00
Stephen Colebourne 3441c43924 Better test error messages
Handle small test collections


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131291 13f79535-47bb-0310-9956-ffa450edef68
2003-10-19 00:25:11 +00:00
Stephen Colebourne 7defd9bed6 Update javadoc reference to fix a broken link
reported by Harish Krishnaswamy


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131290 13f79535-47bb-0310-9956-ffa450edef68
2003-10-16 20:52:03 +00:00
Phil Steitz 76c1efb61c javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131289 13f79535-47bb-0310-9956-ffa450edef68
2003-10-16 06:04:56 +00:00
Stephen Colebourne 3da5b8508b Change class from final to non-final
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131288 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 18:06:41 +00:00
Stephen Colebourne 594977c2f2 Tidy code and Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131287 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 18:05:42 +00:00
Stephen Colebourne a1e36e8823 Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131286 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 21:18:56 +00:00
Phil Steitz e614a8f803 javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131285 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 02:49:40 +00:00
Phil Steitz 83401f530a Added more decorator tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131284 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 02:48:16 +00:00
Phil Steitz cf4a4761aa Added TestPredicatedSortedSet.
Added first() and last() checks to AbstractTestSortedSet verify.
Modified TestTransformedSortedSet and TestObservedSortedSet to use BulkTest.makeSuite.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131283 13f79535-47bb-0310-9956-ffa450edef68
2003-10-12 06:37:30 +00:00
Stephen Colebourne dea6e42a7c Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131282 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:19:39 +00:00
Stephen Colebourne dac6d48cb0 Change ant to not report deprecated methods in test classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131281 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:13:36 +00:00
Stephen Colebourne 99005c4da0 Add Eric Johnson as a contributor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131280 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:12:41 +00:00
Stephen Colebourne 2092e39906 Rename TestBidiMap to AbstractTestBidiMap to promote to testframework jar
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131279 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:11:54 +00:00
Stephen Colebourne 1544a5daa0 Ensure that remove works correctly on views
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131278 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:09:49 +00:00
Stephen Colebourne 6526be25d1 Fix tests to work properly on inverse map
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131277 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:09:27 +00:00
Stephen Colebourne 1557ede997 Ensure null status is passed to view bulk tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131276 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:08:26 +00:00