Commit Graph

1176 Commits

Author SHA1 Message Date
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 9edc197ec3 Add LoopingIterator, from Jonathan Carlson
Add more TODOs


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130870 13f79535-47bb-0310-9956-ffa450edef68
2002-11-21 23:09:57 +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 2c0e5353a8 run o.a.c.c.TestAll only for unit tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130858 13f79535-47bb-0310-9956-ffa450edef68
2002-11-01 18:58:01 +00:00
Dion Gillard 86379431cb Ignore stylesheets and logs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130857 13f79535-47bb-0310-9956-ffa450edef68
2002-11-01 03:34:02 +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
Rodney Waldhoff 93e25a6291 inception year is 2001
fix spelling of "waldhoff"


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130855 13f79535-47bb-0310-9956-ffa450edef68
2002-10-31 16:19:54 +00:00
Michael Smith 52cad22cd6 Update current version to reflect current reality.
Add a few collections developers that are conspicously missing.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130854 13f79535-47bb-0310-9956-ffa450edef68
2002-10-27 14:24:43 +00:00
Martin van den Bemt 8ec363d304 Updated the version in project.xml.
Thanx Moritz Petersen for pointing us to that.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130853 13f79535-47bb-0310-9956-ffa450edef68
2002-10-26 11:04:46 +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 628285d5a7 okok. 1.19
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130850 13f79535-47bb-0310-9956-ffa450edef68
2002-10-21 02:13:12 +00:00
Henri Yandell 90181ac222 And linked it to the latest, which should be 1.20 by my calculating. Which is always susceptible, I'm a mathematician.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130849 13f79535-47bb-0310-9956-ffa450edef68
2002-10-21 02:11:57 +00:00
Henri Yandell 61b6d91e10 Updated current version to 2.1. Set Planned next release to ?.
STATUS.html isn't so tied to a release anyway I thinks.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130848 13f79535-47bb-0310-9956-ffa450edef68
2002-10-21 02:03:29 +00:00
Henri Yandell 2afabf6d7d Updated web page with a 2.1 link and removed the hard-coded 1.13 from the STATUS.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130847 13f79535-47bb-0310-9956-ffa450edef68
2002-10-21 02:02:22 +00:00
Henri Yandell a992a67bbc Now the tag for the actual release :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130846 13f79535-47bb-0310-9956-ffa450edef68
2002-10-21 00:33:59 +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 f23b6410ed When of course I meant RC2. Damn. Time to figure out how to adjust a tag.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130842 13f79535-47bb-0310-9956-ffa450edef68
2002-10-18 07:11:29 +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
Henri Yandell c72d7c78f2 Changed the example in the sample for cvsroot to something that is potentially
useful, ie anon pserver as per Michael Smiths email.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130840 13f79535-47bb-0310-9956-ffa450edef68
2002-10-18 07:02:06 +00:00
Henri Yandell 345f35c51a Changed tag to 2_1_RC1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130839 13f79535-47bb-0310-9956-ffa450edef68
2002-10-16 23:29:12 +00:00
Henri Yandell 79490f5903 Updated project number to 2.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130837 13f79535-47bb-0310-9956-ffa450edef68
2002-10-16 23:25:44 +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 1883abdaf0 Delay primitives to 2.2 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130835 13f79535-47bb-0310-9956-ffa450edef68
2002-10-15 21:45:17 +00:00
Stephen Colebourne a7598c02de Add to todo list
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130834 13f79535-47bb-0310-9956-ffa450edef68
2002-10-15 21:44:24 +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