Commit Graph

935 Commits

Author SHA1 Message Date
Stephen Colebourne 22d14c1895 Javadoc format for <code>
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131204 13f79535-47bb-0310-9956-ffa450edef68
2003-09-29 22:02:33 +00:00
Phil Steitz b6d03843b2 Fixed previousIndex() and nextIndex() methods in ArrayListIterator and ObjectArrayListIterator to conform to ListIterator interface specification.
Modified ObjectArrayIterator constructor to throw ArrayOutOfBoundsException when start index is out of range (as advertised).
Added test cases to TestIteratorUtils.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131203 13f79535-47bb-0310-9956-ffa450edef68
2003-09-29 03:56:12 +00:00
Phil Steitz 4bdb893378 javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131202 13f79535-47bb-0310-9956-ffa450edef68
2003-09-29 03:38:44 +00:00
Stephen Colebourne 1c4942acca Add ObservableSortedBag/Set
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131201 13f79535-47bb-0310-9956-ffa450edef68
2003-09-28 21:54:35 +00:00
Stephen Colebourne 52f05aba78 Add ObservableSortedBag
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131200 13f79535-47bb-0310-9956-ffa450edef68
2003-09-28 21:50:37 +00:00
Stephen Colebourne 8b6040783b Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131199 13f79535-47bb-0310-9956-ffa450edef68
2003-09-28 21:49:50 +00:00
Stephen Colebourne f68637922c Refactor test class to share code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131197 13f79535-47bb-0310-9956-ffa450edef68
2003-09-27 12:06:36 +00:00
Stephen Colebourne 0720c33003 Remove deprecated primitive classes
Prepare for primitive release


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131196 13f79535-47bb-0310-9956-ffa450edef68
2003-09-27 10:54:06 +00:00
Stephen Colebourne aaa866d0d6 Rename Pair to KeyValue
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131195 13f79535-47bb-0310-9956-ffa450edef68
2003-09-27 10:33:34 +00:00
Stephen Colebourne 007d3e3702 Change CursorableLinkedList to use weak references to avoid memory leaks
from Simon Kitching


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131194 13f79535-47bb-0310-9956-ffa450edef68
2003-09-27 10:07:14 +00:00
Matthew Hawthorne 04c90229bb Updated logic in put() to remove pair on duplicate value. Because of this, TestBidiMap can no longer extend TestMap since this seems to break the Map contract.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131193 13f79535-47bb-0310-9956-ffa450edef68
2003-09-26 23:28:43 +00:00
Stephen Colebourne 43c1bd31e8 New Pair implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131192 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 22:47:49 +00:00
Stephen Colebourne 224b283473 Add additional constructor
Javadoc and tidy up


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131191 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 22:47:14 +00:00
Phil Steitz 491b06c0a6 Added test case for index method with SortedMap input.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131190 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 07:19:42 +00:00
Stephen Colebourne 36d6f4b3b3 Refactor tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131189 13f79535-47bb-0310-9956-ffa450edef68
2003-09-24 08:24:46 +00:00
Stephen Colebourne e28dab2be3 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131188 13f79535-47bb-0310-9956-ffa450edef68
2003-09-24 08:23:56 +00:00
Matthew Hawthorne afe7736f62 Added initial implementation of HashBidiMap, plus tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131186 13f79535-47bb-0310-9956-ffa450edef68
2003-09-23 20:29:34 +00:00
Phil Steitz 03b59c2469 Added tests for collect, decorator factories.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131185 13f79535-47bb-0310-9956-ffa450edef68
2003-09-22 08:22:53 +00:00
Phil Steitz 949b9ffcb0 Fixed optimization logic error in containsAny.
Iteration should be over the smaller collection.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131184 13f79535-47bb-0310-9956-ffa450edef68
2003-09-22 02:20:56 +00:00
Phil Steitz 129cc2869b Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131183 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 23:47:09 +00:00
Phil Steitz deffdc372c Improved test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131182 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 20:56:51 +00:00
Stephen Colebourne 957094fb79 Add ObservableSortedSet
Rename range to view


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131181 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 20:01:53 +00:00
Stephen Colebourne 21cc633fde Rename range to view
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131180 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 20:00:29 +00:00
Stephen Colebourne 74e8d90a8c Add observableXxx methods to Utils classes
Switch to our Unmodified/Synchonized classes


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131179 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 16:26:08 +00:00
Stephen Colebourne 93534d8124 Rename Observed to Observable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131178 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 16:00:56 +00:00
Stephen Colebourne 0a0b14cfaf Initial checkin
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131177 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 15:23:04 +00:00
Stephen Colebourne b37dddd867 Initial checkin
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131176 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 20:24:30 +00:00
Stephen Colebourne 3ce63a9f1d Organize imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131175 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 17:05:36 +00:00
Stephen Colebourne b53b689032 Strengthen test
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131174 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 17:00:32 +00:00
Stephen Colebourne 341361b38b Make tests alphabetical and grouped
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131173 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 16:58:19 +00:00
Stephen Colebourne c3c28e3dae Enhance OrderedSet to support List like functions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131172 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 16:57:47 +00:00
Stephen Colebourne 460a6e5b8b Make tests alphabetical
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131171 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 16:57:20 +00:00
Stephen Colebourne d4b4a8f7bf Fix problem with Serialization and Cursors hidden from original tests.
Reported by Rodney


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131170 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 14:03:57 +00:00
Stephen Colebourne be72e12a5d Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131169 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 14:01:17 +00:00
Stephen Colebourne ea5ad586aa Improve test to not assume iterator order.
bug 23201


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131168 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 12:13:59 +00:00
Stephen Colebourne 3e9e81696a Javadoc and code tidying
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131167 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 12:03:52 +00:00
Stephen Colebourne 1ad748d9aa Remove System out debugging
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131166 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 11:26:57 +00:00
Stephen Colebourne c18b0e1e5e Make MapUtils threadsafe and remove synchronized keyword.
Change is partially backwards incompatible:
- protected method is removed
- two threads outputting a Map may now overlap


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131165 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 11:26:32 +00:00
Phil Steitz ab33c74b1e Added Tests for BagUtils and typed bags.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131164 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 02:51:50 +00:00
Phil Steitz 2daa7e098e Modified TestPredicatedBag, TestPredicatedSortedBag to use identically true predicate in makeBag override. Previous versions depended on the fact that TestBag only adds Strings.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131163 13f79535-47bb-0310-9956-ffa450edef68
2003-09-19 22:21:53 +00:00
Phil Steitz c9aca369b7 Clarified blocking behavior in javadoc.
Submitted by: Janek Bogucki
Reviewed/Edited by: Phil Steitz
Pr #23234


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131162 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 05:09:15 +00:00
Phil Steitz 9f3a1ecf83 Modified BlockingBuffer add method to notifyAll
instead of notify.
Added tests to verify blocking behavior.
Patch submitted by: Janek Bogucki
Reviewed by: Phil Steitz
Pr #23232, 23159


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131161 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 03:28:28 +00:00
Stephen Colebourne c3992caf1d Add StringValue transformer
from  James Carman


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131160 13f79535-47bb-0310-9956-ffa450edef68
2003-09-17 20:28:30 +00:00
Stephen Colebourne e41abcddc6 Fix Map debug output for recursion
bug 23041, from Janek Bogucki/Arun Mammen Thomas


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131159 13f79535-47bb-0310-9956-ffa450edef68
2003-09-17 19:59:45 +00:00
Stephen Colebourne b15a189be9 Javadoc fixes
bug 23087, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131158 13f79535-47bb-0310-9956-ffa450edef68
2003-09-17 08:38:59 +00:00
Phil Steitz 3fa63e40d4 Added a test class for BlockingBuffer.
Patch submitted by Janek Bogucki (Pr# 23158).
Reviewed (and extended slightly) by Phil Steitz.
The test case testBlockedGetWithAdd() verifies the current behavior of BlockingBuffer.add() as described in Pr# 23159, i.e., the add method uses notify, not notifyAll, so only one waiting thread is "unblocked" by add.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131155 13f79535-47bb-0310-9956-ffa450edef68
2003-09-15 03:50:41 +00:00
Phil Steitz 19045cb424 Added tests for LazyMap, LazySortedMap.
Modified TestMapUtils to test only the factory method for LazyMap.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131154 13f79535-47bb-0310-9956-ffa450edef68
2003-09-14 03:30:23 +00:00
Phil Steitz 3ae25b6189 Added tests for PredicatedMap, PredicatedSortedMap.
Modified TestMapUtils to test only the factory method for PredicatedMap.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131153 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 16:12:47 +00:00
Phil Steitz 67ea7c7742 Moved TestPredicatedCollection to decorators test package.
Added TestPredicatedBuffer, TestPredicatedList, TestPredicatedSet.
Modified TestBufferUtils, TestCollectionUtils, TestListUtils and TestSetUtils to eliminate BlkTests based on TestPredicatedCollection with simple factory tests, delegating (full coverage) functional testing to the decorator tests.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131152 13f79535-47bb-0310-9956-ffa450edef68
2003-09-12 03:59:00 +00:00
Stephen Colebourne df02176925 Rename SequencedSet to OrderedSet
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131151 13f79535-47bb-0310-9956-ffa450edef68
2003-09-09 22:28:36 +00:00
Stephen Colebourne fc4c3af2c5 Simplify and performance improvement for getFreq
bug 23004, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131150 13f79535-47bb-0310-9956-ffa450edef68
2003-09-09 21:53:04 +00:00
Stephen Colebourne c4d88de091 Javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131149 13f79535-47bb-0310-9956-ffa450edef68
2003-09-09 21:36:53 +00:00
Stephen Colebourne 90e985280f Small performance improvement
bug 22973, from Janek Bogucki
Method and Javadoc improvement


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131148 13f79535-47bb-0310-9956-ffa450edef68
2003-09-09 21:25:18 +00:00
Stephen Colebourne b7db6423cb Javadoc fixes
bug 22972, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131147 13f79535-47bb-0310-9956-ffa450edef68
2003-09-09 21:05:51 +00:00
Phil Steitz 9c62f649f4 Added tests for PredicatedBag, PredicatedSortedBag
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131146 13f79535-47bb-0310-9956-ffa450edef68
2003-09-09 03:03:57 +00:00
Stephen Colebourne abc443ff77 Add ObservedBuffer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131145 13f79535-47bb-0310-9956-ffa450edef68
2003-09-07 16:50:59 +00:00
Stephen Colebourne 36e71afa22 Add observed package tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131144 13f79535-47bb-0310-9956-ffa450edef68
2003-09-07 16:49:41 +00:00
Phil Steitz ff9345bae1 Reverted to [collections] javadoc style
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131143 13f79535-47bb-0310-9956-ffa450edef68
2003-09-07 15:09:34 +00:00
Stephen Colebourne 3c6542af60 Make the base collection available to listeners
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131142 13f79535-47bb-0310-9956-ffa450edef68
2003-09-07 10:33:33 +00:00
Stephen Colebourne fb1a16e4cc Javadoc improvements
bug 22962, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131141 13f79535-47bb-0310-9956-ffa450edef68
2003-09-07 08:48:46 +00:00
Stephen Colebourne 6fbdc9aaa7 Javadoc improvements
bug 22964, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131140 13f79535-47bb-0310-9956-ffa450edef68
2003-09-07 08:45:16 +00:00
Stephen Colebourne 6abe8f4e94 Add support for event reporting from SubList view
Hopefully other views should also be supported


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131139 13f79535-47bb-0310-9956-ffa450edef68
2003-09-07 00:51:32 +00:00
Stephen Colebourne dff90a587e Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131138 13f79535-47bb-0310-9956-ffa450edef68
2003-09-06 20:41:12 +00:00
Stephen Colebourne 9547b0caa6 Separated iterators to own events
Separate pre and post event classes
Clarify meaning of result event parameter
Fix tests that weren't working, and fixed problems revealed


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131137 13f79535-47bb-0310-9956-ffa450edef68
2003-09-06 18:59:09 +00:00
Stephen Colebourne 8c3f191d5b Test ObservedBag and ObservedListIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131136 13f79535-47bb-0310-9956-ffa450edef68
2003-09-06 16:53:23 +00:00
Phil Steitz 21a690adc6 javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131134 13f79535-47bb-0310-9956-ffa450edef68
2003-09-05 03:35:07 +00:00
Phil Steitz 2c106dd4ea Fixed a javadoc error, improved efficiency and added tests for CollectionUtils.isProperSubCollection
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131133 13f79535-47bb-0310-9956-ffa450edef68
2003-09-05 02:16:33 +00:00
Stephen Colebourne 4c0753a53e Refactor observed classes and packages to make better use of scoping
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131131 13f79535-47bb-0310-9956-ffa450edef68
2003-09-03 23:54:26 +00:00
Stephen Colebourne b8dba646f1 Improve documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131130 13f79535-47bb-0310-9956-ffa450edef68
2003-09-03 23:53:27 +00:00
Stephen Colebourne 75f96422de Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131129 13f79535-47bb-0310-9956-ffa450edef68
2003-09-03 22:29:51 +00:00
Stephen Colebourne 3cdd772317 Refactor observed collections to include factory for handlers.
Simple case of one listener is dealt with neatly at the expense of type safety.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131128 13f79535-47bb-0310-9956-ffa450edef68
2003-09-03 00:11:28 +00:00
Stephen Colebourne ca7f9fb3e3 Refactor events so pre and post more separated
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131127 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 22:44:54 +00:00
Stephen Colebourne fc34848eb3 Refactor events so listener is defined as an Object for flexibility
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131126 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 21:09:49 +00:00
Stephen Colebourne 43b14025a5 Update the MapUtils to output 'null' if null map
bug 20740


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131125 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 17:52:13 +00:00
Stephen Colebourne 13dcac086e Unify spelling of acknowedgement in licence
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131124 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 17:30:27 +00:00
Stephen Colebourne d416143503 Fix method name spelling
bug 22844, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131123 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 14:37:48 +00:00
Stephen Colebourne ae1beff727 Javadoc spelling mistakes
bug 22843, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131121 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 14:31:12 +00:00
Stephen Colebourne 4e9a77e4e7 Fix author names
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131120 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 14:30:15 +00:00
Stephen Colebourne 8fbc765987 Javadoc spelling mistakes
bug 22843, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131119 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 13:09:53 +00:00
Stephen Colebourne 8a92b6e555 Add ObservedCollection implementation
with tests and event classes


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131118 13f79535-47bb-0310-9956-ffa450edef68
2003-08-28 18:31:13 +00:00
Stephen Colebourne 858f6564be Update to MapUtils debugPrint processing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131117 13f79535-47bb-0310-9956-ffa450edef68
2003-08-25 20:38:40 +00:00
Stephen Colebourne bd5708f488 Javadoc and Reformat files
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131116 13f79535-47bb-0310-9956-ffa450edef68
2003-08-24 11:29:52 +00:00
Stephen Colebourne 9c45ea86bb Update test suites to separate base package only tests from all tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131115 13f79535-47bb-0310-9956-ffa450edef68
2003-08-24 10:52:27 +00:00
Stephen Colebourne 7bbdeabc05 Fix escaping behaviour of save method
bug 19061, from Mohan Kishore, reported by Dariusz Wojtas


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131114 13f79535-47bb-0310-9956-ffa450edef68
2003-08-24 10:50:58 +00:00
Stephen Colebourne 084754f692 Improve debugPrint() and verbosePrint()
bug 20740, from Arun Mammen Thomas


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131113 13f79535-47bb-0310-9956-ffa450edef68
2003-08-24 09:47:19 +00:00
Stephen Colebourne b4c1122160 Fix debugPrint(Map) methods to handle more than just String keys
bug 20740, from Max Rydahl Anderson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131112 13f79535-47bb-0310-9956-ffa450edef68
2003-08-20 21:03:16 +00:00
Stephen Colebourne 421a30912d Javadoc improvement
prompted by K.C. Baltz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131111 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 00:30:08 +00:00
Stephen Colebourne ea355ae4e4 Javadoc fixes
from Dieter Wimberger


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131110 13f79535-47bb-0310-9956-ffa450edef68
2003-07-12 16:23:33 +00:00
Stephen Colebourne 3439cce207 Improve testing for SortedSet
includes some code from Dieter Wimberger


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131109 13f79535-47bb-0310-9956-ffa450edef68
2003-07-12 15:47:53 +00:00
Stephen Colebourne f51f08a1fd Added more controlling if methods into Collection test hierarchy
- isNullSupported
- isFailFastSupported


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131108 13f79535-47bb-0310-9956-ffa450edef68
2003-07-12 15:11:26 +00:00
Rodney Waldhoff ee78317bba add IntCollections.singleton* and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131107 13f79535-47bb-0310-9956-ffa450edef68
2003-07-08 18:04:49 +00:00
Daniel Rall 0809aa66f5 * collections/src/java/org/apache/commons/collections/ProxyMap.java
Corrected pointer in the header JavaDoc's @deprecated warning to the
  better named AbstractMapDecorator which Stephen has placed in the
  decorators sub-package.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131106 13f79535-47bb-0310-9956-ffa450edef68
2003-07-04 03:36:12 +00:00
Daniel Rall 778435a3a0 * collections/src/java/org/apache/commons/collections/ProxyMap.java
Removed bogus use case from header JavaDoc.  The class may be
  deprecated, but I'd rather not chance giving anyone bad information
  (especially when it was my fault that it's there in the first
  place).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131105 13f79535-47bb-0310-9956-ffa450edef68
2003-07-04 03:32:03 +00:00
Rodney Waldhoff 5be840a7f7 giving Cursor package scope defeats the whole point of this class (and breaks commons-pool), restoring to public
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131103 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 16:08:42 +00:00
Stephen Colebourne ebc90b8f60 Converted inner classes to static nested classes where possible
From Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131102 13f79535-47bb-0310-9956-ffa450edef68
2003-06-20 07:59:59 +00:00
Stephen Colebourne fcacf6126e Fix @link tags in javadoc
Bug 20933, From Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131101 13f79535-47bb-0310-9956-ffa450edef68
2003-06-20 07:50:21 +00:00
Stephen Colebourne d8b1a452bd Fix test class to remove time dependency for reliable test
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131100 13f79535-47bb-0310-9956-ffa450edef68
2003-05-21 22:22:24 +00:00
Rodney Waldhoff d74454646d * add IntCollections and test
* add additional primitives.decorators.* tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131099 13f79535-47bb-0310-9956-ffa450edef68
2003-05-20 17:05:28 +00:00
Rodney Waldhoff 813df07aae add unmodifiableintlist and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131098 13f79535-47bb-0310-9956-ffa450edef68
2003-05-20 00:44:11 +00:00
Stephen Colebourne c8501226e8 Add TransformedMap and TransformedSortedMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131097 13f79535-47bb-0310-9956-ffa450edef68
2003-05-17 15:03:25 +00:00
Stephen Colebourne 7bbd45c3ec Add TransformedMap and TransformedSortedMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131095 13f79535-47bb-0310-9956-ffa450edef68
2003-05-17 14:53:11 +00:00
Stephen Colebourne d10c1d3207 Improve javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131094 13f79535-47bb-0310-9956-ffa450edef68
2003-05-17 14:18:30 +00:00
Stephen Colebourne 17c05ab02e Hold a Transformer internally, as wrap Factory as Transformer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131093 13f79535-47bb-0310-9956-ffa450edef68
2003-05-17 14:11:10 +00:00
Stephen Colebourne f22de4bfaa Fix spelling mistake
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131092 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 16:00:51 +00:00
Stephen Colebourne 55102a32c1 Update to reflect new/removed classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131091 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 16:00:29 +00:00
Stephen Colebourne be37e32a8d Add PriorityQueueUtils and two decorators
Deprecate SynchronizedPriorityQueue in main package


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131089 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 15:30:36 +00:00
Stephen Colebourne 06881249a6 Improve deprecation comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131088 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 15:28:28 +00:00
Stephen Colebourne bfdb6621e6 Remove System.out testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131087 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 15:11:54 +00:00
Stephen Colebourne 91559cc1c9 Change new classes to indicate next version of 3.0 not 2.2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131086 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 15:08:45 +00:00
Stephen Colebourne 332652dea3 Update licence and javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131085 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 14:58:42 +00:00
Stephen Colebourne 4bc51a6634 Update licence and javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131084 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 14:40:56 +00:00
Stephen Colebourne c16a5e8ea5 Update licence and javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131083 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 14:24:55 +00:00
Stephen Colebourne edc53fb910 Convert three tab spacing to four tab spacing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131082 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 14:20:54 +00:00
Stephen Colebourne 0d7be3b2cf Change to use PredicateUtils rather than own Predicate
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131081 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 14:20:01 +00:00
Stephen Colebourne 20be12841f Add functor utility implementation tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131080 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 13:42:57 +00:00
Stephen Colebourne 17cfa3461b Add functor utility implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131079 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 13:41:10 +00:00
Stephen Colebourne 0d490de07c Update licence and javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131078 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 14:15:24 +00:00
Stephen Colebourne 92c30814a9 Remove uneccessary public statements from interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131077 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 14:14:58 +00:00
Stephen Colebourne 0519ee87a7 Deprecated constant removed for next release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131076 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 14:12:46 +00:00
Stephen Colebourne 86fc29dc96 Deprecated classes removed for next release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131075 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 14:08:23 +00:00
Stephen Colebourne d10f7f4bb3 Remove deprecated getName method
Update licence and javadoc


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131074 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 14:00:09 +00:00
Stephen Colebourne 6e9f2b17d2 Add transformed decorators to static utilities
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131073 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 13:29:16 +00:00
Stephen Colebourne 611120275c Add transformed decorators tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131072 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 13:18:27 +00:00
Stephen Colebourne 530e458fb7 Add transformed decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131071 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 13:17:57 +00:00
Stephen Colebourne 340c5f0af9 Reformat file layout
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131070 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 13:14:51 +00:00
Stephen Colebourne c9feea13e4 Add @since tags
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131069 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 13:13:40 +00:00
Stephen Colebourne 036db10ba3 Add placeholder testing classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131068 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 13:11:37 +00:00
Stephen Colebourne 3630409f35 ProxyMap now deprecated
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131067 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 13:10:34 +00:00
Stephen Colebourne 9f14cf8d87 Update licence and javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131066 13f79535-47bb-0310-9956-ffa450edef68
2003-05-11 12:13:58 +00:00
Stephen Colebourne 709b314cde Deprecate for newer version in decorators subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131065 13f79535-47bb-0310-9956-ffa450edef68
2003-05-10 17:07:28 +00:00
Stephen Colebourne b6b248608d Add additional decorator tests for FixedSize
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131064 13f79535-47bb-0310-9956-ffa450edef68
2003-05-10 15:50:14 +00:00
Stephen Colebourne d934c4d0f5 Add sequenced decorator tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131062 13f79535-47bb-0310-9956-ffa450edef68
2003-05-10 15:11:58 +00:00
Stephen Colebourne 4eb9212972 Add sequenced decorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131061 13f79535-47bb-0310-9956-ffa450edef68
2003-05-10 15:10:22 +00:00
Stephen Colebourne 4ca59779e7 Add package html for decorators package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131060 13f79535-47bb-0310-9956-ffa450edef68
2003-05-10 12:51:06 +00:00
Stephen Colebourne ff648b6cda Remove decorator inner classes.
Transfer static method calls to use new decorators package.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131059 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 18:41:34 +00:00
Stephen Colebourne 9f2689243b Update licence and file layout
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131058 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 18:36:14 +00:00
Stephen Colebourne c9718d0e40 Add extra handling for improved Map internals
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131057 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 18:34:19 +00:00
Stephen Colebourne 5535332edc Ensure map putAll() method does not recurse
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131056 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 18:33:27 +00:00
Stephen Colebourne c284d5a192 Add BoundedCollection collection decorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131055 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 18:01:08 +00:00
Stephen Colebourne ebc5684efd Add Map and SortedMap collection decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131054 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 16:42:36 +00:00
Stephen Colebourne 1c77aedc23 Change typed collections to not implement the interface.
Instead they are just placeholders.
This makes the decorate method more usable in IDEs.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131053 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 16:41:57 +00:00
Stephen Colebourne da665c0d95 Change to extend AbstractListDecorator (better superclass)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131052 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 16:39:23 +00:00
Stephen Colebourne ba9cd0f544 Add new abstract decorator classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131051 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 16:38:16 +00:00
Stephen Colebourne 645063548a Convert instance variable to protected
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131050 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 16:37:30 +00:00
Stephen Colebourne f3d1e3c070 Add Bag collection decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131049 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 13:19:18 +00:00
Stephen Colebourne 0124ad25ac Add Buffer collection decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131048 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 13:18:53 +00:00
Stephen Colebourne 51ace98326 Add Buffer collection decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131047 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 12:19:26 +00:00
Stephen Colebourne 7eb41b7cdd Javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131046 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 12:18:55 +00:00
Stephen Colebourne db5765e6be Tidy imports, javadoc and field access
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131045 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 11:20:21 +00:00
Stephen Colebourne 655ef653bc Add Set and SortedSet collection decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131044 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 11:19:46 +00:00
Robert Burrell Donkin 1ebd856d1f Added ability to make referenced value purgable. This allows an instance to be constructed with weak referenced keys whose values are purged when the keys are garbage collected.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131042 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 09:18:58 +00:00
Robert Burrell Donkin 1907fd5d4b Rolled back last commit. Accidentally committed everything in commons when I just wanted to commit docs and xdocs. Doh!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131040 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 11:19:26 +00:00
Robert Burrell Donkin 0960f86b17 Changed charter as per successful VOTE. We now allow any Apache committers to use the sandbox (upon request).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131039 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 10:24:01 +00:00
Rodney Waldhoff 4e1cd68bc0 add tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131038 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 00:04:30 +00:00
Rodney Waldhoff 8f6ef49683 * clean up unused local variables
* scrub imports


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131037 13f79535-47bb-0310-9956-ffa450edef68
2003-05-05 23:25:22 +00:00
Rodney Waldhoff 0eaab38ac2 add *.primitives.decorators.TestAll to the suite
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131036 13f79535-47bb-0310-9956-ffa450edef68
2003-05-04 13:06:14 +00:00
Rodney Waldhoff de09f923b0 add BaseProxyIntCollection, BaseProxyIntList, and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131035 13f79535-47bb-0310-9956-ffa450edef68
2003-05-04 12:58:48 +00:00
Stephen Colebourne c491e7f4f5 Collection and List decorators (previously inner classes)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131034 13f79535-47bb-0310-9956-ffa450edef68
2003-04-29 18:43:47 +00:00
Stephen Colebourne 046411c42b Test new buffer implementation that overwrites the oldest entry when full
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131033 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 15:13:54 +00:00
Stephen Colebourne 76fb648c5c Add additional test for null passed to constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131032 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 15:12:28 +00:00
Stephen Colebourne 4658bffcb6 New buffer implementation that overwrites the oldest entry when full
from Stefano Fornari


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131031 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 15:10:56 +00:00
Stephen Colebourne ad8bc0e6d9 Minor speed improvement
Javadoc/copyright


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131030 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 15:09:48 +00:00
Stephen Colebourne 48b7814cf6 Document null behaviour
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131029 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 14:28:31 +00:00
Stephen Colebourne 36cc05ca35 Add invertMap(Map) method
Add toMap(ResourceBundle) method
from Arun Mammen Thomas


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131028 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 14:27:46 +00:00
Stephen Colebourne fa44d78ebc Updated javadoc
Updated copyright year


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131027 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 11:15:34 +00:00
Stephen Colebourne 70a7e6a6a8 Fix bug in test for sub list ignoring set boolean
Updated test for better error messages
from Neil O'Toole


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131026 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 10:27:59 +00:00
Stephen Colebourne ee342121c5 Updated test for better error messages
from Neil O'Toole


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131025 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 10:25:35 +00:00
Rodney Waldhoff cec1f64b00 public constructors considered helpful
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131024 13f79535-47bb-0310-9956-ffa450edef68
2003-04-22 21:32:55 +00:00
Rodney Waldhoff 2429ea3deb address bug 19096 by adding a simple toString method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131023 13f79535-47bb-0310-9956-ffa450edef68
2003-04-18 23:29:24 +00:00
Rodney Waldhoff 06e3ca2d37 address bug 17616, default to ISO-8859-1 encoding when none specified
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131022 13f79535-47bb-0310-9956-ffa450edef68
2003-04-18 23:17:09 +00:00
Rodney Waldhoff d73e9fcf94 close reader, for completeness
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131020 13f79535-47bb-0310-9956-ffa450edef68
2003-04-17 12:13:14 +00:00
Rodney Waldhoff 6a5cf652be add Reader/CharIterator adapters and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131019 13f79535-47bb-0310-9956-ffa450edef68
2003-04-16 19:45:13 +00:00
Rodney Waldhoff a17d133bb2 a more useful CharList.toString implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131018 13f79535-47bb-0310-9956-ffa450edef68
2003-04-16 19:03:39 +00:00
Rodney Waldhoff 70598bf567 fix minor cut-and-paste issue (needless cast to float)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131017 13f79535-47bb-0310-9956-ffa450edef68
2003-04-16 18:38:09 +00:00
Rodney Waldhoff 1da41c0b71 add char based primitive collections and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131016 13f79535-47bb-0310-9956-ffa450edef68
2003-04-16 18:32:40 +00:00
Rodney Waldhoff 1df7f75362 add ByteIteratorInputStream and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131015 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 17:09:15 +00:00
Rodney Waldhoff 68890c535b additional tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131014 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 16:26:15 +00:00
Rodney Waldhoff 3171e5c1e7 add InputStreamByteIterator and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131013 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 03:07:50 +00:00
Rodney Waldhoff b2528188aa add byte collections and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131012 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 01:55:23 +00:00
Rodney Waldhoff 71a2dba44e implement some TestListIterator tests, hence clearing a TODO
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131011 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 00:27:37 +00:00
Rodney Waldhoff cb320f7403 add double collections and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131010 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 00:11:20 +00:00
Rodney Waldhoff 969a6804c1 add TestListIterator placeholder
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131009 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 23:26:09 +00:00
Rodney Waldhoff f2328ed4c0 deprecate old style FloatArrayList
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131008 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 23:05:35 +00:00
Rodney Waldhoff f54ad7f89e rename [Test]AbstractRandomAccessXList to just [Test]RandomAccessXList
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131007 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 22:30:57 +00:00
Rodney Waldhoff 95df194b8b add float types and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131006 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 22:08:09 +00:00
Stephen Colebourne 54a2013989 Add new FixedOrderComparator that allows the order to be easily specified
from David Leppik, bug ref 16823


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131005 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 17:37:26 +00:00
Rodney Waldhoff 37b4ba1135 deprecate old style short collections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131004 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 22:01:25 +00:00
Rodney Waldhoff 45ed5c01f7 * add UnsignedByte ShortList
* fix conversion bug in UnsignedShortList.removeElementAt and UnsignedIntList.removeElementAt


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131003 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 21:50:15 +00:00
Rodney Waldhoff 6f8c285fd6 add short types and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131002 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 00:55:37 +00:00
Stephen Colebourne 66a915ccb5 Method names and signatures changed to make more generally useful and clear
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131001 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 23:38:26 +00:00
Stephen Colebourne aa46c52439 Update method names and signatures to make more generally useful and clear
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131000 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 23:37:54 +00:00
Rodney Waldhoff 9bbaba8bcd * add ArrayUnsignedIntList and tests
* deprecate some test cases to reduce the number of deprecation warnings


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130999 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 06:44:34 +00:00
Rodney Waldhoff 8d77ea4efc @deprecate some replaced types
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130998 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 06:24:07 +00:00
Rodney Waldhoff 32a08d4038 add LongCollection, LongList, etc. and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130997 13f79535-47bb-0310-9956-ffa450edef68
2003-04-08 18:24:36 +00:00
Rodney Waldhoff 3766fc5ad2 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130996 13f79535-47bb-0310-9956-ffa450edef68
2003-04-07 16:57:33 +00:00
Stephen Colebourne af6d9f164f Add lazyMap versions that use a Transformer as their factory.
These are in fact incredibly powerful, especially if wrapped in a synchronized wrapper.
In this case it forms a self-populating cache.
Idea by Dennis Mitchell,  bugzilla ref 17953


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130994 13f79535-47bb-0310-9956-ffa450edef68
2003-04-06 20:07:55 +00:00
Stephen Colebourne 7f942e98b6 Add javadoc comments for inner classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130993 13f79535-47bb-0310-9956-ffa450edef68
2003-04-06 19:32:18 +00:00
Stephen Colebourne 95c52f129b Add typed decorator collections to utility classes
from Matthew Hawthorne


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130992 13f79535-47bb-0310-9956-ffa450edef68
2003-04-04 22:22:29 +00:00
Stephen Colebourne 7b7011dde6 Add licence
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130991 13f79535-47bb-0310-9956-ffa450edef68
2003-04-04 22:20:44 +00:00
Stephen Colebourne de8be58655 Add new equals and hashCode methods that aid implementors of the interfaces
from Neil O'Toole


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130990 13f79535-47bb-0310-9956-ffa450edef68
2003-04-04 20:42:03 +00:00
Stephen Colebourne a73594a4b2 Initial checkin of MultiKey
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130989 13f79535-47bb-0310-9956-ffa450edef68
2003-03-09 00:07:41 +00:00
Rodney Waldhoff 2c36de79a9 clean up TODO list a bit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130988 13f79535-47bb-0310-9956-ffa450edef68
2003-03-05 19:10:51 +00:00
Rodney Waldhoff fb7e0d9b44 scrub imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130987 13f79535-47bb-0310-9956-ffa450edef68
2003-03-05 19:03:33 +00:00
Rodney Waldhoff aa7cc64c4f add tests, make 'em pass ;)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130986 13f79535-47bb-0310-9956-ffa450edef68
2003-03-03 23:23:40 +00:00
Stephen Colebourne 2298039999 Improve javadoc to clatify role of read-only properties
noted by BluePhelix@web.de


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130985 13f79535-47bb-0310-9956-ffa450edef68
2003-03-03 19:41:29 +00:00
Rodney Waldhoff 487ccad396 * add tests
* make a few minor changes so that those tests pass


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130983 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 00:47:29 +00:00
Rodney Waldhoff b9fbf5945b better handling of serializablity w.r.t. sublists
make some types final


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130982 13f79535-47bb-0310-9956-ffa450edef68
2003-02-28 21:21:51 +00:00
Rodney Waldhoff 02687ec175 toward better serialization contract support in sublists
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130981 13f79535-47bb-0310-9956-ffa450edef68
2003-02-28 00:17:56 +00:00
Rodney Waldhoff 9697e648ba * add tests
* support serializable
* tweak equals contract to match List.equals better


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130980 13f79535-47bb-0310-9956-ffa450edef68
2003-02-26 19:17:24 +00:00
Rodney Waldhoff d10b146e18 make ArrayIntList serializable
add additional tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130979 13f79535-47bb-0310-9956-ffa450edef68
2003-02-26 15:45:19 +00:00
Rodney Waldhoff 4b88bc49c1 dynamically disable certain serialization tests when run under clover
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130977 13f79535-47bb-0310-9956-ffa450edef68
2003-02-26 01:33:22 +00:00
Rodney Waldhoff fa08d185aa some cleanup, re-org methods, reduce scope on some
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130976 13f79535-47bb-0310-9956-ffa450edef68
2003-02-26 00:35:19 +00:00
Stephen Colebourne a1dc756f64 Use correct internal method, from Andrew Freeman
Update licence and javadoc


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130975 13f79535-47bb-0310-9956-ffa450edef68
2003-02-20 23:14:03 +00:00
Stephen Colebourne dbee289a00 Tidy up imports
from Andrew Freeman


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130974 13f79535-47bb-0310-9956-ffa450edef68
2003-02-19 20:33:20 +00:00
Stephen Colebourne a3ff1ee25b Tidy up imports
from Andrew Freeman


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130973 13f79535-47bb-0310-9956-ffa450edef68
2003-02-19 20:14:27 +00:00
Stephen Colebourne d7e506ef8e Fix bug in remove()
from Leo Sutic


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130972 13f79535-47bb-0310-9956-ffa450edef68
2003-02-19 19:54:12 +00:00
Stephen Colebourne ae4e066007 Enable remove() in FilterIterator
from Ralph Wagner


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130970 13f79535-47bb-0310-9956-ffa450edef68
2003-01-30 23:11:58 +00:00
Stephen Colebourne 389ea88c76 Enable remove()
from Ralph Wagner


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130969 13f79535-47bb-0310-9956-ffa450edef68
2003-01-30 23:10:29 +00:00
Rodney Waldhoff 74d78a6d46 add test demonstrating that CollectionUtils.intersection et al uses the method equals(), not the operator ==.
(see <http://archives.apache.org/eyebrowse/ReadMsg?listId=105&msgNo=1993>; "Question about CollectionUtils semantics" on commons-user, 27 Jan 2002)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130968 13f79535-47bb-0310-9956-ffa450edef68
2003-01-27 23:19:28 +00:00
Stephen Colebourne 597f6553d0 Add isSetSupported test to allow for immutable Lists
from Rich Dougherty, bug fix 15128


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130967 13f79535-47bb-0310-9956-ffa450edef68
2003-01-25 12:55:43 +00:00
Stephen Colebourne 775f3598fd Improved javadoc of purge method.
from Eduardo Francos, bug fix #14889


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130966 13f79535-47bb-0310-9956-ffa450edef68
2003-01-25 12:33:02 +00:00
Stephen Colebourne 2d6bc87ba8 Fix initialized flag so it actually gets set
from Walt, fixes bug #16225


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130965 13f79535-47bb-0310-9956-ffa450edef68
2003-01-25 12:21:19 +00:00
Stephen Colebourne 5069664f18 Make getReadMethod and getWriteMethod public
Solves bug 15897


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130964 13f79535-47bb-0310-9956-ffa450edef68
2003-01-25 12:06:55 +00:00
Stephen Colebourne a164d04789 Add exists() to test if any one element in the collection matches the predicate
from Peter KoBek


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130963 13f79535-47bb-0310-9956-ffa450edef68
2003-01-25 11:40:26 +00:00
Stephen Colebourne 075ed28c88 Add testing for null parameters passed to filter, transform and countMatches
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130962 13f79535-47bb-0310-9956-ffa450edef68
2003-01-25 11:31:12 +00:00
Stephen Colebourne ea11630b2d Improve performance by not using local variables in iterator loops
Javadoc null comment tidying
from Peter KoBek


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130961 13f79535-47bb-0310-9956-ffa450edef68
2003-01-25 11:29:37 +00:00
Stephen Colebourne acf5ebf5a0 Improve speed of countMatches()
from Peter KoBek


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130960 13f79535-47bb-0310-9956-ffa450edef68
2003-01-20 01:29:30 +00:00
Stephen Colebourne c07fc446f6 Improve performance of clear()
Update licence
Javadoc and formatting


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130958 13f79535-47bb-0310-9956-ffa450edef68
2003-01-18 14:03:28 +00:00
Stephen Colebourne a790423ef1 Update clear() methods to run faster
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130957 13f79535-47bb-0310-9956-ffa450edef68
2003-01-18 13:37:12 +00:00
Stephen Colebourne 2c15f60080 Update licence
Javadoc improvements
Layout changes


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130956 13f79535-47bb-0310-9956-ffa450edef68
2003-01-18 12:47:34 +00:00
Stephen Colebourne 4f55140322 Test Unmodifiable/Resetable combination iterators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130954 13f79535-47bb-0310-9956-ffa450edef68
2003-01-15 22:02:33 +00:00
Stephen Colebourne 7c3665288a Make Empty Iterators implement Resetable
Handle Unmodifiable/Resetable combination iterators
Expose Resetable Iterators as return types from methods


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130953 13f79535-47bb-0310-9956-ffa450edef68
2003-01-15 21:55:43 +00:00
Stephen Colebourne 9445bdcd93 Update licence
Test reset() on Singleton iterators


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130952 13f79535-47bb-0310-9956-ffa450edef68
2003-01-15 21:54:12 +00:00
Stephen Colebourne 55178c1244 Implement new Resetable Iterator interfaces
Update licence
Update since and version tags


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130951 13f79535-47bb-0310-9956-ffa450edef68
2003-01-15 21:53:14 +00:00
Stephen Colebourne c08ffff306 Implement new Resetable Iterator interfaces
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130950 13f79535-47bb-0310-9956-ffa450edef68
2003-01-15 21:52:39 +00:00
Stephen Colebourne d8af72c544 New Resetable Iterator interfaces
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130949 13f79535-47bb-0310-9956-ffa450edef68
2003-01-15 21:49:59 +00:00
Stephen Colebourne 9340ca5e76 Update licence
Update since and version tags


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130948 13f79535-47bb-0310-9956-ffa450edef68
2003-01-15 21:49:14 +00:00
Stephen Colebourne 60aa1d0752 Add access method for new BooleanComparator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130947 13f79535-47bb-0310-9956-ffa450edef68
2003-01-15 20:37:22 +00:00
Stephen Colebourne 993d3b50e2 Javadoc the cached method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130946 13f79535-47bb-0310-9956-ffa450edef68
2003-01-15 20:36:38 +00:00
Rodney Waldhoff 0b3070cdc0 * only javadoc public members
* fix resulting javadoc warnings
* add one-arg (Map) constructor to DefaultMapBag, use it in HashBag and TreeBag
* fix license typos in touched files


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130945 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 23:54:38 +00:00
Rodney Waldhoff 22ae5553ac * make AbstractIntCollection public
* add copy constructor to AbstractIntCollection
* add javadoc to AbstractIntCollection
* hava AbstractRandomAccessIntList use AbstractIntCollection copy constructor


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130944 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 23:07:08 +00:00
Rodney Waldhoff ab1cf8de16 * fix ComparatorChain for the case in which an underlying comparator returns Integer.MIN_VALUE, add test that demonstrates
* minor javadocs


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130943 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 22:52:34 +00:00
Rodney Waldhoff 4b47c895c4 * reduce ComparableComparator.compare to "return ((Comparable)o1).compareTo(o2)"
* some javadoc fixes


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130942 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 22:34:57 +00:00
Rodney Waldhoff 799b3be413 javadocs
add test


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130941 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 21:52:28 +00:00
Rodney Waldhoff dc7995810d * add copy constructors to AbstractRandomAccessIntList, ArrayIntList and ArrayUnsignedShortList
* more javadocs


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130940 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 12:59:45 +00:00
Rodney Waldhoff c40e37a018 minor license, javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130939 13f79535-47bb-0310-9956-ffa450edef68
2003-01-12 15:23:20 +00:00
Rodney Waldhoff 6d2d1970fb more minor javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130938 13f79535-47bb-0310-9956-ffa450edef68
2003-01-11 21:34:39 +00:00
Rodney Waldhoff ce4f5d6bcb javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130937 13f79535-47bb-0310-9956-ffa450edef68
2003-01-11 21:32:20 +00:00
Rodney Waldhoff e887366de0 license fixes (acknowlegement ->acknowledgment; Group -> Software Foundation)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130936 13f79535-47bb-0310-9956-ffa450edef68
2003-01-11 21:28:03 +00:00
Rodney Waldhoff fcc3dec6f0 * fix gump's javadoc warnings
* fix spelling of "acknowledgment"
* remove duplicate @author entry


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130935 13f79535-47bb-0310-9956-ffa450edef68
2003-01-11 01:07:13 +00:00
Rodney Waldhoff 43e7d53839 document IntList.equals and IntList.hashCode contracts
add test ensuring proper implementation of IntList.hashCode


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130934 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 21:13:19 +00:00
Rodney Waldhoff 58e491f4b4 fix various javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130933 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 20:21:25 +00:00
Rodney Waldhoff e648a45b61 add javadocs to Int[List]Iterator
fix typo in IntList javadocs


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130932 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 19:24:10 +00:00
Rodney Waldhoff 40a2554a07 remove duplicate @version tag
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130931 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 18:55:13 +00:00
Rodney Waldhoff abd1fe5068 move IntListIterator back up to primitives package (oops, didn't mean to move it down to adapter in the first place)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130930 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 18:52:38 +00:00
Rodney Waldhoff 3a44e9291a javadocs
also fix spelling of "acknowledgment" in the license text


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130929 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 18:47:15 +00:00
Rodney Waldhoff 0f4975fe36 adding serialized version of BooleanComparator, enabling relevant tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130928 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 17:08:29 +00:00
Rodney Waldhoff 8ae0426500 scrub imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130927 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 13:28:34 +00:00
Rodney Waldhoff d1b9647e25 extract superclass TestIntList
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130926 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 13:27:55 +00:00
Rodney Waldhoff 69c423e40f add BooleanComparator and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130925 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 00:21:08 +00:00
Rodney Waldhoff c97200ea71 add test ensuring makeObject.equals(null) doesn't fail
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130924 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 00:15:09 +00:00
Rodney Waldhoff 8f5eb39aa4 move primitive/object adapters down to adapter sub-package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130923 13f79535-47bb-0310-9956-ffa450edef68
2003-01-09 13:40:11 +00:00
Rodney Waldhoff a55fe3e992 add base testSerializeDeserializeThenCompare test, modify concrete TestCases so that they pass this test (or when necessary, skip them)
this tests the Comparator.equals contract, among others


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130922 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 23:44:20 +00:00
Stephen Colebourne a11c82f3bc Add Apache licence
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130921 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 23:40:57 +00:00
Rodney Waldhoff b5f981ff98 override equals and hashCode to match Comparator contract
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130920 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 23:26:47 +00:00
Rodney Waldhoff 3264047c67 support equals and hashCode per Comparator contract
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130919 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 23:05:33 +00:00
Rodney Waldhoff 57335290f7 adjust arg name to match javadoc comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130918 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 18:49:01 +00:00
Rodney Waldhoff f150178847 support equals as per the Comparator contract
support hashCode for this equals as per the Object contract


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130917 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 18:40:45 +00:00
Rodney Waldhoff 4c71dedc3a cosmetic changes only (convert tabs to spaces, add braces one line blocks)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130916 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 18:20:07 +00:00
Rodney Waldhoff f146a43e76 add ArrayUnsignedShortList, and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130915 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 18:04:52 +00:00
Rodney Waldhoff 37b1a12876 apply Rich Dougherty's patch fixing NodeCachingLinkedList unit tests
this also adds CommonsLinkedList and tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130914 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 15:18:15 +00:00
Rodney Waldhoff 8f77a02066 * fix problems with IntListList and ListIntList equals methods
* throw IndexOutOfBounds instead of IllegalArgument, where necessary
* re-enable TestArrayIntList suite
* re-enable primitives.TestAll suite from root (not clear why this would have been disabled)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130913 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 13:24:52 +00:00
Rodney Waldhoff fc65ecbb81 add toString
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130912 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 01:34:07 +00:00
Rodney Waldhoff 4f633bcf7f screwed up the unit tests somehow, comment out for now (will fix in the AM)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130911 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 01:29:28 +00:00
Rodney Waldhoff 0ff5503e97 * add additional adapters
* modify wrappers so that equals compares wrapped types
* clarify IntList.equals with javadoc


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130910 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 00:59:51 +00:00
Rodney Waldhoff 5cec4b2b96 better deprecation messages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130905 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 04:05:39 +00:00
Rodney Waldhoff 6ce6f9ccbc * add ArrayIntList, AbstractRandomAccessIntList
* add missing addAll(int,IntCollection) method to IntList
* add tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130904 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 03:59:12 +00:00
Rodney Waldhoff 2c7a674eea add IntList to List adapter
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130903 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 03:57:42 +00:00
Rodney Waldhoff 5033cc3758 add IntListIterator to ListIterator adapter
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130902 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 03:57:15 +00:00
Rodney Waldhoff 081e3fcc15 oops, retainAll should delegate to retainAll, not removeAll
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130901 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 03:56:21 +00:00
Rodney Waldhoff 8922bd8321 make package doc scalable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130900 13f79535-47bb-0310-9956-ffa450edef68
2003-01-05 13:33:05 +00:00
Rodney Waldhoff 9262cd48a0 add basic adapters
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130899 13f79535-47bb-0310-9956-ffa450edef68
2003-01-05 03:03:42 +00:00
Rodney Waldhoff 456a094e3f add base int collection impl
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130898 13f79535-47bb-0310-9956-ffa450edef68
2003-01-05 03:03:14 +00:00
Rodney Waldhoff 44e2acadff get should return int not Object
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130897 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 23:16:29 +00:00
Rodney Waldhoff 8302eabc7b add IntCollection, IntList, IntIterator, IntListIterator
deprecate various AbstractIntList implementations as a warning of impending change
(note that nothing in primitives.* has yet been released)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130896 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 15:00:57 +00:00
Rodney Waldhoff ceba1806c3 should have updated copyright with last commit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130895 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 13:43:10 +00:00
Rodney Waldhoff 42f142840e name the file we're looking for on test failure
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130894 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 13:10:27 +00:00
Stephen Colebourne 968607b9c5 Add empty unmodifiable implementations for all collections
Add synchronized/unmodifiable implementations for all collections


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130892 13f79535-47bb-0310-9956-ffa450edef68
2002-12-15 13:05:03 +00:00
Stephen Colebourne 7fe55f624b Test reworked array iterators to include Iterator and ListIterator implementations.
Also test Object array versions.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130891 13f79535-47bb-0310-9956-ffa450edef68
2002-12-13 12:10:48 +00:00
Stephen Colebourne 93b9f67629 Rework array iterators to include Iterator and ListIterator implementations.
Also add Object array versions for better performance.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130890 13f79535-47bb-0310-9956-ffa450edef68
2002-12-13 12:04:16 +00:00
Stephen Colebourne 3f3e957206 Add test for remove on an iterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130889 13f79535-47bb-0310-9956-ffa450edef68
2002-12-13 12:03:46 +00:00
Stephen Colebourne a84170e095 Add method to indicate that iterator doesn't support remove.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130888 13f79535-47bb-0310-9956-ffa450edef68
2002-12-13 12:03:06 +00:00
Stephen Colebourne 4ca0da456a Fix remove method to throw correct exception
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130887 13f79535-47bb-0310-9956-ffa450edef68
2002-12-13 11:03:42 +00:00
Stephen Colebourne 50a4521771 Reuse UnmodifiableIterator in IteratorUtils, from Rich Dougherty
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130886 13f79535-47bb-0310-9956-ffa450edef68
2002-12-11 19:05:14 +00:00
Stephen Colebourne ba27ecd2d4 Add IteratorUtils unmodifiable iterators, from Rich Dougherty
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130885 13f79535-47bb-0310-9956-ffa450edef68
2002-12-08 15:42:35 +00:00
Stephen Colebourne 257fbcc0a5 Update to latest package status
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130884 13f79535-47bb-0310-9956-ffa450edef68
2002-12-08 15:30:58 +00:00
Stephen Colebourne 35041694f4 Add new countMatches method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130883 13f79535-47bb-0310-9956-ffa450edef68
2002-12-08 15:29:59 +00:00
Stephen Colebourne 92d67a604d Test the new countMatches method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130882 13f79535-47bb-0310-9956-ffa450edef68
2002-12-08 15:29:26 +00:00
Stephen Colebourne 0ac46dd1c3 Add tests for select/selectRejected methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130881 13f79535-47bb-0310-9956-ffa450edef68
2002-11-24 21:12:30 +00:00
Stephen Colebourne aa139cebf0 Add selectRejected methods, from BluePhelix@web.de (Peter)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130880 13f79535-47bb-0310-9956-ffa450edef68
2002-11-24 21:11:27 +00:00
Stephen Colebourne 607a1f8418 Test for indexOf, from Johal
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130879 13f79535-47bb-0310-9956-ffa450edef68
2002-11-24 20:49:29 +00:00
Stephen Colebourne f6d8876a41 Fix bug in indexOf, identified by Johal
Reformat and Javadoc file


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130878 13f79535-47bb-0310-9956-ffa450edef68
2002-11-24 20:48:35 +00:00
Stephen Colebourne fe74db761c Remove map key collection when it becomes empty so equals works.
from Serhiy Yevtushenko


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130877 13f79535-47bb-0310-9956-ffa450edef68
2002-11-24 20:25:55 +00:00
Stephen Colebourne 9770d8be10 Add test for equals that demonstrates a bug
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130876 13f79535-47bb-0310-9956-ffa450edef68
2002-11-24 20:24:49 +00:00
Stephen Colebourne 0cad010ce8 Fix bug that values() was not backed by Map
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130875 13f79535-47bb-0310-9956-ffa450edef68
2002-11-24 19:38:09 +00:00
Stephen Colebourne c8de9e8066 Applied fixes from Julien Buret to improve MultiMap including
- values() backed by real map
- clone works properly
- ArrayLists can be added to a MultiMap
Javadoc class


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130874 13f79535-47bb-0310-9956-ffa450edef68
2002-11-24 19:36:48 +00:00
Stephen Colebourne 7c12e16836 Improve javadoc description of what a MultiMap is
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130873 13f79535-47bb-0310-9956-ffa450edef68
2002-11-24 19:33:19 +00:00
Stephen Colebourne 12f98e4bc4 Fix Concurrent Modification bug in purge(), from Eduardo Francos
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130872 13f79535-47bb-0310-9956-ffa450edef68
2002-11-24 17:30:15 +00:00
Stephen Colebourne e02e9818cf Add BoundedCollection, from Herve Quiroz
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130871 13f79535-47bb-0310-9956-ffa450edef68
2002-11-24 16:23:21 +00:00
Stephen Colebourne 9d123df763 Add LoopingIterator, from Jonathan Carlson
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130869 13f79535-47bb-0310-9956-ffa450edef68
2002-11-21 23:09:26 +00:00
Stephen Colebourne af5dd4d71a Add LoopingIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130868 13f79535-47bb-0310-9956-ffa450edef68
2002-11-21 23:08:27 +00:00
Stephen Colebourne e28052ee76 Test Performance optimised LinkedList, from Jeff Varszegi
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130867 13f79535-47bb-0310-9956-ffa450edef68
2002-11-18 23:58:46 +00:00
Stephen Colebourne 4fbfa16c6e Performance optimised LinkedList, from Jeff Varszegi
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130866 13f79535-47bb-0310-9956-ffa450edef68
2002-11-18 23:58:17 +00:00
Henri Yandell 7510ff1b6d Unused variables removed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130865 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 21:43:36 +00:00
Henri Yandell 49f5da622f Unable to justify its algorithm lookup for finding a value as generic enough.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130864 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 21:42:45 +00:00
Henri Yandell 827fe6c697 Removed unused local variable max.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130863 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 21:32:36 +00:00
Rodney Waldhoff db708754f6 allow cardinality(null,collection) and add test for it
(fixing http://issues.apache.org/bugzilla/show_bug.cgi?id=13785 per suggestion of Serhiy Yevtushenko)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130862 13f79535-47bb-0310-9956-ffa450edef68
2002-11-01 19:54:27 +00:00
Rodney Waldhoff fcad5944ac add javadoc comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130861 13f79535-47bb-0310-9956-ffa450edef68
2002-11-01 19:41:00 +00:00
Rodney Waldhoff aa959e46cf add generic TestMap test for http://issues.apache.org/bugzilla/show_bug.cgi?id=9573 (values isn't backed by map), but override the test in TestMultiHashMap for now
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130860 13f79535-47bb-0310-9956-ffa450edef68
2002-11-01 19:36:54 +00:00
Rodney Waldhoff 0cb8046cd3 have all setUp and tearDown methods throw Exception, so they can be extended more easily (see http://issues.apache.org/bugzilla/show_bug.cgi?id=14151)
update/fix copyright in a few of these touched files


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130859 13f79535-47bb-0310-9956-ffa450edef68
2002-11-01 19:07:54 +00:00
Rodney Waldhoff 05c0b3a792 fix bug pointed out bu Jonathan Carlson
add test that demonstrates


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130856 13f79535-47bb-0310-9956-ffa450edef68
2002-10-31 21:55:23 +00:00
Henri Yandell 8fe3197c56 Uses inheritence in the get() value lookup to decide which value to return.
I find this very useful when implementing registries of which Class acts
upon which value. So in a ConvertUtils class, a ClassMap would handle the
many Converters, deciding which Converter to use on which value.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130852 13f79535-47bb-0310-9956-ffa450edef68
2002-10-23 03:35:23 +00:00
Henri Yandell d2369cf6d4 2.1 will be 2.1 spec :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130845 13f79535-47bb-0310-9956-ffa450edef68
2002-10-20 04:09:20 +00:00
Henri Yandell b92d5e054f This needs to be changed to change the manifest. doh :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130843 13f79535-47bb-0310-9956-ffa450edef68
2002-10-18 07:19:02 +00:00
Henri Yandell fbf05cfc64 No point recording how long it's been in Avalon now that it's not in Avalon.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130841 13f79535-47bb-0310-9956-ffa450edef68
2002-10-18 07:03:12 +00:00
Stephen Colebourne 04765f1d41 Delay primitives to 2.2 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130836 13f79535-47bb-0310-9956-ffa450edef68
2002-10-15 21:51:21 +00:00
Stephen Colebourne 7b54609df8 Javadoc improvement
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130833 13f79535-47bb-0310-9956-ffa450edef68
2002-10-13 22:31:35 +00:00
Stephen Colebourne 86df16092e Fix to avoid javadoc generation warnings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130832 13f79535-47bb-0310-9956-ffa450edef68
2002-10-13 13:55:35 +00:00
Stephen Colebourne de7c3085ac Add tests for negative size constructors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130831 13f79535-47bb-0310-9956-ffa450edef68
2002-10-13 13:00:23 +00:00
Stephen Colebourne 30f22f1ba9 Use field access not method for testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130830 13f79535-47bb-0310-9956-ffa450edef68
2002-10-13 12:59:52 +00:00
Stephen Colebourne f6692b29e6 Tidy javadoc and code layout
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130829 13f79535-47bb-0310-9956-ffa450edef68
2002-10-13 12:59:04 +00:00
Stephen Colebourne 49d9fa86a6 Add no args constructor
Tidy javadoc and code layout


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130828 13f79535-47bb-0310-9956-ffa450edef68
2002-10-13 12:57:12 +00:00
Stephen Colebourne 3aba1278c3 Enable nulls to be added to the stack
Add initial size constructor
Tidy javadoc and code layout


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130827 13f79535-47bb-0310-9956-ffa450edef68
2002-10-13 12:56:42 +00:00
Stephen Colebourne 374e746bb0 Deprecate in favour of StringUtils in [lang]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130825 13f79535-47bb-0310-9956-ffa450edef68
2002-10-13 11:17:57 +00:00
Stephen Colebourne 4e2452d242 Javadoc improvements, especially exception descriptions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130822 13f79535-47bb-0310-9956-ffa450edef68
2002-10-13 00:38:36 +00:00
Stephen Colebourne 332b8ff8d8 Remove as added after 2.0, and is now in subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130821 13f79535-47bb-0310-9956-ffa450edef68
2002-10-12 23:25:27 +00:00
Stephen Colebourne 9a451b11ca Fix unused imports (patch from Steve Downey)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130820 13f79535-47bb-0310-9956-ffa450edef68
2002-10-12 22:36:23 +00:00
Stephen Colebourne 3b553f88ce Add whole package testing class for comparators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130819 13f79535-47bb-0310-9956-ffa450edef68
2002-10-12 22:35:37 +00:00
Stephen Colebourne febd99c162 Add whole package testing class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130818 13f79535-47bb-0310-9956-ffa450edef68
2002-10-12 22:35:10 +00:00
Stephen Colebourne 9ba0768cf5 Fix unused imports and javadoc links (patch from Steve Downey)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130816 13f79535-47bb-0310-9956-ffa450edef68
2002-10-12 22:15:21 +00:00
Stephen Colebourne f93b13144b Removed unused variable (patch from Steve Downey)
Added class level javadoc


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130815 13f79535-47bb-0310-9956-ffa450edef68
2002-10-12 22:04:59 +00:00
Stephen Colebourne 3f22cc8398 Removed unused variable (patch from Steve Downey)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130814 13f79535-47bb-0310-9956-ffa450edef68
2002-10-12 21:59:45 +00:00
Rodney Waldhoff a47d25a4ff * allow zero as an initial capacity for the primitive array lists (once again). (java.util.ArrayList allows it, why shouldn't we?)
* add tests to enforce the contract


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130812 13f79535-47bb-0310-9956-ffa450edef68
2002-09-07 20:33:32 +00:00
Rodney Waldhoff 034ec419ea add containsAny(Collection,Collection) and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130811 13f79535-47bb-0310-9956-ffa450edef68
2002-09-07 19:49:49 +00:00
Rodney Waldhoff 52cc5cbef2 minor doc change
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130810 13f79535-47bb-0310-9956-ffa450edef68
2002-09-07 00:28:53 +00:00
pjack 3b4a050148 Added better class JavaDoc as suggested by Jonathan Carlson.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130809 13f79535-47bb-0310-9956-ffa450edef68
2002-08-23 17:31:28 +00:00
pjack cb3d67cf61 Added some notes about the abstraction layers.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130808 13f79535-47bb-0310-9956-ffa450edef68
2002-08-22 02:08:32 +00:00
pjack f7e4fdd91d Added better class-level documentation as suggested by Jonathan Carlson.
Also provided default implementations for many of the abstract methods
in Abstract*List.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130807 13f79535-47bb-0310-9956-ffa450edef68
2002-08-22 01:50:54 +00:00
pjack ebdaf3cb68 Placed Abstract*ArrayList layer under Abstract*List layer. Erased
Serializable declarations from all abstract superclasses (but kept it in
all concrete implementations).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130806 13f79535-47bb-0310-9956-ffa450edef68
2002-08-21 23:54:18 +00:00
pjack ab21cb546c Removed TestSoftRefHashMap. It was never invoked by TestAll, and the
class it tests has been deprecated; this removal eliminates a
deprecation warning from the build.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130804 13f79535-47bb-0310-9956-ffa450edef68
2002-08-20 00:16:30 +00:00