Commit Graph

895 Commits

Author SHA1 Message Date
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
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 ced7246684 Add contributers
Tidy file


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131122 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 14:32:57 +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
Daniel Rall 4154ccff85 * collections/README.txt
Updated URL to Ant web site.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131104 13f79535-47bb-0310-9956-ffa450edef68
2003-07-04 03:09:59 +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