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
Stephen Colebourne
8f0c4405c7
Update maven script to process all the tests
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131157 13f79535-47bb-0310-9956-ffa450edef68
2003-09-17 08:33:14 +00:00
Rodney Waldhoff
c26f01fb1c
generate object and primitive jars in both maven and ant
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131156 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 05:32:54 +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
Stephen Colebourne
a4eaf112dd
Switch to Maven feather
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131135 13f79535-47bb-0310-9956-ffa450edef68
2003-09-06 11:11:04 +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
Phil Steitz
541dca188d
Added myself to the project team.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131132 13f79535-47bb-0310-9956-ffa450edef68
2003-09-05 01:58:48 +00:00