Commit Graph

2248 Commits

Author SHA1 Message Date
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
Rodney Waldhoff 57e5d1aa08 ignore eclipse directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130995 13f79535-47bb-0310-9956-ffa450edef68
2003-04-07 16:41:41 +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 1a2f50cb26 ignore some eclipse files
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130984 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 00:48:26 +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 cec79200d7 make "maven clover" work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130978 13f79535-47bb-0310-9956-ffa450edef68
2003-02-26 01:45:53 +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 2b91f90172 Add BooleanComparator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130959 13f79535-47bb-0310-9956-ffa450edef68
2003-01-19 17:44:00 +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 5cc930c282 Update licence
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130955 13f79535-47bb-0310-9956-ffa450edef68
2003-01-15 22:07:57 +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