Commit Graph

957 Commits

Author SHA1 Message Date
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
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