Commit Graph

501 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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
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
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 ce07bf068f Fix various javadoc link warnings
bug 23680, from Eric Johnson


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


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131271 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 20:58:53 +00:00
Stephen Colebourne 5db7fd6976 Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131269 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 20:51:15 +00:00
Stephen Colebourne 0deed47b72 Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131268 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 20:44:32 +00:00
Stephen Colebourne c676de25d3 Make DualHashBidiMap serialiizable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131267 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 20:21:32 +00:00
Rodney Waldhoff 8a083ab8af * support remove in SingletonIterator and SingletonListIterator
* add tests
* enable tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131263 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 11:05:27 +00:00
Rodney Waldhoff 287d11999f deprecate
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131257 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 09:52:56 +00:00
Stephen Colebourne b943acfc64 Rename HashBidiMap to DualHashBidiMap
Add AbstractDualBidiMap
Test and fix bugs


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131254 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 23:47:17 +00:00
Phil Steitz 39f52a2f79 Added test for UnmodifiableMap, plugged small protection gap.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131250 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 05:06:05 +00:00
Stephen Colebourne 396286ea1e Update version numbers for next release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131249 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 23:21:07 +00:00
Stephen Colebourne 5dc2c46e26 Update licence and version
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131245 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 21:26:46 +00:00
Stephen Colebourne a322e63163 Refactor implementation to act as more of a decorator
Fixed some bugs too


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131237 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 20:40:52 +00:00
Stephen Colebourne 456adc3354 Clarify the contract of the put method in BidiMaps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131236 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 20:38:55 +00:00
Phil Steitz 4b2811d1c4 Added get(object, index) method to CollectionUtils, deprecating index(-,-) methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131235 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 19:48:00 +00:00
Phil Steitz f8acd98e11 Fixed bug related to CreateNode parameter order reported on commons-dev list by David.Hay@REQUISITE.com on 3-Oct-03.
Added tests to TestCommonsLinkedList to cover node-manipulation methods and changed TestNodeCachingLinkedList to extend TestCommonsLinkedList.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131233 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 06:41:08 +00:00
Stephen Colebourne 9be6a962ed Refactor SetList to be a subclass of the abstract decorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131232 13f79535-47bb-0310-9956-ffa450edef68
2003-10-04 00:50:35 +00:00
Stephen Colebourne 333541bc3c Deprecate DefaultMapEntry in the main package
Fix resultant deprecation warnings


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131230 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 23:19:32 +00:00
Henri Yandell 3a5194a37a more cleaning up, removing negative comments :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131228 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 06:31:03 +00:00
Henri Yandell 79908ade0a tidied up the entryset code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131227 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 06:25:03 +00:00