Commit Graph

1476 Commits

Author SHA1 Message Date
Henri Yandell 3290bbc854 Applying my patch from COLLECTIONS-307. Fixes the bug raised by Christian Semrau that SetUniqueList.subList() was not redefining the uniqueness set when creating the sublist.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@731498 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 09:09:55 +00:00
Henri Yandell 0122245f02 Applying Bjorn Townsend's unit test and my fix for COLLECTIONS-304 - fixing SetUniqueList so the set method doesn't let the uniqueness get out of sync
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@711591 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 15:47:43 +00:00
Henri Yandell 0725e476d4 Applying Benjamin Bentmann's second patch from COLLECTIONS-294, fixing the locale issue in CaseInsensitiveMap by converting each character individually and not using toLowerCase
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@711168 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 03:58:37 +00:00
Henri Yandell f3eaf2ceae Adding a test for COLLECTIONS-299 and a fix. Fixes by not adding any non-String values as per java.util.Properties; also adding to the javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@711140 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 00:15:36 +00:00
Henri Yandell 79ff10494b Applying Nathan Bubna's patch from COLLECTIONS-271 to fix the bug introduced in the last patch where getKeys() breaks after a combine() or subset() call.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@710200 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 22:41:09 +00:00
Henri Yandell 441ed780ad Setting the source/target settings to 1.3 as per COLLECTIONS-281
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@707529 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 03:36:19 +00:00
Henri Yandell 70b446cba6 Stating in the class javadoc that attempts to modify the object's state will result in an UnsupportedOperationException as requested in COLLECTIONS-303
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@687995 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 07:21:18 +00:00
Henri Yandell d887c5913f Applying Joerg's final patch from COLLECTIONS-266, including the unit test that shows the problem and fixes the problem by making the hashcode transient, and moving the hashcode implementation such that it can be called from the deserialization as well as the hashcode method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@661577 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 06:23:45 +00:00
Henri Yandell fc7d80e70b Modifying sizeIsEmpty such that null -> true and not an IllegalArgumentException as per Benjamin Bentmann's patch to COLLECTIONS-298
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@657503 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 07:36:46 +00:00
Henri Yandell cf197bd0e0 Fixing javadoc as per Benjamin Bentmann's patch to COLLECTIONS-297
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@657502 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 07:34:31 +00:00
Henri Yandell 015f5a8724 Applying Dave Meikle's patch to COLLECTIONS-194 - adding a populateMap method to MapUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@657293 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 05:29:40 +00:00
Henri Yandell e6d4f46544 Making MultiValueMap serializable as per COLLECTIONS-240
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@656960 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 08:09:42 +00:00
Emmanuel Bourg c1351569a7 Modified the javadoc in ExtendedProperties to redirect users to Commons Configuration for advanced needs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@656318 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 15:32:07 +00:00
Henri Yandell 68d2beaf42 Applying my patch, with the obj creation commented out, from COLLECTIONS-285. This makes TreeBidiMap serializable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@655756 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 07:10:34 +00:00
Henri Yandell 6965d41836 Applying my patch from COLLECTIONS-221 - making the CompositeMap, CompositeSet and CompositeCollection serializable. The only difference from the patch is that the creation of the obj files in TestCompositeMap is commented out
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@655751 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 06:53:35 +00:00
Henri Yandell 4ac9d2bf8c Changing 'CVS' to 'SVN' as that's what we use now
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@655743 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 05:58:10 +00:00
Henri Yandell b02d2167ed Renaming 'values' to 'valuesView' to make it more obvious where it is used and why it can be transient. Rewriting values() to be readable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@655741 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 05:35:44 +00:00
Henri Yandell d72bf81d8b Applying one of Benjamin's fixes from COLLETIONS-294. testBoolean goes on to look for English
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@655204 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 22:46:43 +00:00
Henri Yandell c34c46965f Fixing eol style as per sebb's email
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@647045 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 04:16:07 +00:00
Niall Kegan Pemberton 4ee715790b Try to fix JDK 1.6 gump instance failure by increasing the delay - testBlockedRemoveWithAddAll2 failed with the message "Both objects were removed expected:<0> but was:<1>"
see http://gump.zones.apache.org/gump/test/apache-commons/commons-collections/gump_work/build_apache-commons_commons-collections.html

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@645800 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 09:01:52 +00:00
Henri Yandell 34bc1b54db Adding a state check as per COLLECTIONS-3. I got an NPE when running through tests without synchronization
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@643755 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 06:06:47 +00:00
Henri Yandell 975baeba61 Applying my patch from COLLECTIONS-265. TreeBag no longer accepts non-Comparable classes when it naturally ordered (ie: no comparator has been set)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@641166 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 06:08:52 +00:00
Henri Yandell 5a3a0041a0 Adding the predicate to the IllegalArgumentException as per COLLECTIONS-280
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@641165 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 06:04:56 +00:00
Henri Yandell 0d948ddefd Applying a unit test and a fix for COLLECTIONS-238 - allowing ExtendedProperties to support empty property values
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@641153 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 05:18:45 +00:00
Niall Kegan Pemberton 8af1be8dcc Add missing files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638781 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 10:36:08 +00:00
Henri Yandell cfe724a900 Applying Fredrik Kjellberg's patch that adds getIteratorIndex() as per COLLECTIONS-289
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638693 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 03:43:19 +00:00
Henri Yandell 3ff2649833 Stressing that existing objects are not transformed as per Paul's request in COLLECTIONS-288
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638227 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 06:11:16 +00:00
Sebastian Bazley a202e9ca19 Need to use an OrderedMap in order to guarantee ordering for this test ;-)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638079 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 21:52:21 +00:00
Henri Yandell 1ef83170fe Adding a putAll method to ListOrderedMap as per COLLECTIONS-226 and Dave Meikle's patch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637512 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 02:37:19 +00:00
Henri Yandell eb9cff359c Nathan Egge requested a ListUtils.indexOf(List, Predicate) method in COLLECTIONS-235. Applying Dave Meikle's patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637505 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 01:52:59 +00:00
Henri Yandell 8a5d3acab8 Applying the patch from Alexander Borovsky for COLLECTIONS-271
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637503 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 01:39:13 +00:00
Henri Yandell 7cf943172b Applying a unit test for COLLECTIONS-220. AbstractTestObject is refactored to provide a utility method that serializes and then deserializes. Dave Meikle's fix for said unit test is also applied.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637495 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 00:26:44 +00:00
Henri Yandell b147d16e64 Removing tabs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637494 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 23:31:23 +00:00
Henri Yandell 3a05a2c626 Removing unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637492 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 23:27:50 +00:00
Henri Yandell 01086ef5b3 Applying the latest patch from Henning's report in COLLECTIONS-278 that put() and putAll() don't update the getKeys() map on ExtendedProperties
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637489 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 23:23:48 +00:00
Henri Yandell 142a6dd5ee Fixing the assemblies to say project.version instead of version to stop '2.4.1' leaking through from the JVM properties. Also making it project.artifactId while I'm doing this.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637007 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 06:41:17 +00:00
Henri Yandell ad4e890878 Updating javadoc as per COLLECTIONS-262 - the firstKey and lastKey javadoc methods were back to front for parts of their description
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@608030 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 07:23:14 +00:00
Matthew Jason Benson c493bb9126 sp
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@606721 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 18:11:04 +00:00
Niall Kegan Pemberton 6165d35534 m2 build updates
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@595526 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 02:40:53 +00:00
Henri Yandell 3d70b9cc19 Removing the unused variable as mentioned in COLLECTIONS-255 by caching the TreeView object
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@575154 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 03:45:29 +00:00
Matthew Jason Benson 8357f61e3d javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@573684 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 19:59:22 +00:00
Henri Yandell 3af55cd334 Applying my patch for COLLECTIONS-256 - adding a decorateTransform method as used with Maps to all of the collection classes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@572952 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 13:38:47 +00:00
Henri Yandell d0df8e55b0 Applying suggested fix from Thomas Louis in COLLECTIONS-264 - the clear() and CollectionView.clear() methods were losing the TreeMap's comparator
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@571412 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 09:39:36 +00:00
Henri Yandell c4253f47d5 Making it so CollectionUtils.size(null) returns 0 and not an IllegalArgumentException as per COLLECTIONS-230
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@567739 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 16:11:47 +00:00
Henri Yandell 1d5610521f Applying my test/fix patch from COLLECTIONS-261
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@567711 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 14:11:47 +00:00
Matthew Jason Benson ddddf08a59 Apache Apache
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@561549 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 21:18:04 +00:00
Rahul Akolkar b3661629fb TLP related blanket changes:
s:jakarta.apache.org/commons:commons.apache.org:
s/commons-user@jakarta.apache.org/user@commons.apache.org/
s/commons-dev@jakarta.apache.org/dev@commons.apache.org/
s/Jakarta Commons/Apache Commons/
s:svn.apache.org/viewcvs/jakarta/commons:svn.apache.org/viewvc/commons:
s:svn.apache.org/viewcvs.cgi/jakarta/commons:svn.apache.org/viewvc/commons:
s:svn.apache.org/viewvc/jakarta/commons:svn.apache.org/viewvc/commons:
s:svn.apache.org/repos/asf/jakarta/commons:svn.apache.org/repos/asf/commons:

I'd appreciate another pair of eyes on this. There are some categories we probably don't want to change ATM (hopefully, none of these snuck in):
 * Historicals (proposals etc.)
 * URLs that shouldn't change (DOCTYPE fragments etc.)
 * Test cases where namespace URLs matter etc. (I'll track any related nightly failures)


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@561230 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 04:17:09 +00:00
Henri Yandell 25e63dac01 Fixing the mailing list addresses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@560804 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 20:14:22 +00:00
Niall Kegan Pemberton ab308f04de Minor javadoc and code style change
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@556358 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 00:16:44 +00:00
Henri Yandell 33703f1b91 Applying Mark Hindess' patch from COLLECTIONS-232 that cleans up the ordering of various assertEquals to be expected,actual and not actual,expected and also fixes various assertEquals to assertNulls where applicable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@534976 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 19:54:44 +00:00
Henri Yandell f43e0a53c1 Applying Joe Kelly's fix for COLLECTIONS-249 - SetUniqueList.addAll(int, Collection
) was always inserting at the end of the list

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@531027 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 13:44:46 +00:00
Henri Yandell c7ed0a2d1d Fixed copyright header (committing in parts as the full commit timed out)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@480465 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 08:17:04 +00:00
Henri Yandell 76f1e437e2 Fixed copyright header (committing in parts as the full commit timed out)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@480464 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 08:15:25 +00:00
Henri Yandell e3034f529a Fixed copyright header (committing in parts as the full commit timed out)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@480461 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 08:14:27 +00:00
Henri Yandell c84f3df8b5 Fixed copyright header (committing in parts as the full commit timed out)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@480459 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 08:13:13 +00:00
Henri Yandell b5f8903b88 Fixed copyright header (committing in parts as the full commit timed out)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@480452 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 07:45:14 +00:00
Henri Yandell 14dc740fad Removing my @author tag
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@471628 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 04:06:45 +00:00
Stephen Colebourne 5e313d14b2 COLLECTIONS-228 - MultiValueMap put and putAll do not return the correct values
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@468684 13f79535-47bb-0310-9956-ffa450edef68
2006-10-28 12:27:01 +00:00
Stephen Colebourne 66c4b99ddc COLLECTIONS-219 - CollectionUtils - Fix removeAll() method which was completely broken
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@428130 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 20:24:02 +00:00
Stephen Colebourne 3f09772b74 COLLECTIONS-214 - ExtendedProperties - Include property name had confused static/instance semantics
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@423272 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 22:44:49 +00:00
Stephen Colebourne f8aa3e033c COLLECTIONS-217 - Flat3Map - Fix setValue in MapIterator and EntrySetIterator to work correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@423264 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 22:03:00 +00:00
Stephen Colebourne b1cd358495 COLLECTIONS-215 - DefaultedMap clarify javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@421727 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 23:09:11 +00:00
Stephen Colebourne 667547d919 Fix MultiKey spelling
COLLECTIONS-216, from Hendrik Maryns

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@421712 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 22:05:01 +00:00
Stephen Colebourne e9c3c73e94 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@418566 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 10:03:12 +00:00
Stephen Colebourne 5c54256a5a Javadoc changes for v3.2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@406071 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 10:44:37 +00:00
Stephen Colebourne b64ab87b5c Javadoc changes for v3.2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@405927 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 22:57:03 +00:00
Stephen Colebourne 6185b726ea Add since tags for v3.2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@405925 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 22:52:43 +00:00
Stephen Colebourne 9d46da6c8c Make LoopingListIterator implement ResettableListIterator
(a binary incompatible change, but on an unreleased class)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@405920 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 22:48:04 +00:00
Stephen Colebourne 242b938ec3 Remove deprecated classes from documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@405918 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 22:46:29 +00:00
Stephen Colebourne c6bd07e5ab Add commons agreed JDK version attributes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@405917 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 22:45:43 +00:00
Stephen Colebourne e13c0688a5 Add deprecation indicator to sub list
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@404858 13f79535-47bb-0310-9956-ffa450edef68
2006-05-07 21:40:39 +00:00
Stephen Colebourne a9c42edbcb Improve ready for release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@404804 13f79535-47bb-0310-9956-ffa450edef68
2006-05-07 17:33:02 +00:00
Stephen Colebourne 324ef991a6 Add ReverseListIterator
rfe 39224, including code from Serge Knystautas

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@400329 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 16:10:31 +00:00
Stephen Colebourne cfc1b177ef Make ListIteratorWrapper resettable
rfe 39449, from Thomas Schapitz

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@400314 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 13:59:30 +00:00
Stephen Colebourne daccd005b3 Javadoc and stylistic changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@400286 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 11:17:27 +00:00
Stephen Colebourne 3e434a4c61 Fix comment about defaultTransformer
bug 39207, from Matt Benson

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@393105 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 22:23:11 +00:00
Stephen Colebourne 2d85e5f319 Fix comment about defaultTransformer
bug 39207, from Matt Benson

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@393104 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 22:22:23 +00:00
Stephen Colebourne f9588d4deb Avoid object creation in predicate factory methods
bug 38703, from Matt Benson

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@382470 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 19:02:36 +00:00
Stephen Colebourne 232af59948 Implement BoundedCollection, Add javadoc
rfe 37473

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@377517 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 22:38:20 +00:00
Stephen Colebourne 7440726c44 All/Any/One/None Predicate - allow construction with zero or one predicates
rfe 37979, implemented by Matt Benson

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@377508 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 22:12:33 +00:00
Stephen Colebourne c56039ade9 Add single argument constructor for IfClosure
bug 38495, from Matt Benson

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@375766 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 23:10:36 +00:00
Stephen Colebourne 63bb55deee Enable MultiHashMap compilation on J#
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@372373 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 00:10:43 +00:00
Stephen Colebourne 22aec774e6 TreeList iterator previous() broken as remove(int) could break invariants
bug 35258, reported by and test case from Tomas D.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@370952 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 01:49:21 +00:00
Stephen Colebourne 28749901a9 Comments and formatting
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@370950 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 01:43:58 +00:00
Stephen Colebourne ad2987c5ad Fix set iterator and predicate methods
bug 38074, from Huw Roberts

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@366576 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 22:07:07 +00:00
Stephen Colebourne 8ee4f391d0 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@366575 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 21:56:50 +00:00
Stephen Colebourne 32769fd169 ListOrderedMap - additional method, put(int,Object,Object)
rfe 37761, from Matt Benson

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@365406 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 19:34:53 +00:00
Stephen Colebourne 0f2b464324 Improve manifest
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@357502 13f79535-47bb-0310-9956-ffa450edef68
2005-12-18 20:49:17 +00:00
Stephen Colebourne 115c961ee4 Minor fixes of unecessary casts/imports
bug 37915, from Nathan Beyer

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@357494 13f79535-47bb-0310-9956-ffa450edef68
2005-12-18 19:05:31 +00:00
Stephen Colebourne 3121915ee8 Tidy up formatting for BoundedBuffer and BlockingBuffer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348808 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 21:35:09 +00:00
James W. Carman c67b1d895f Fixing accidentally checked in code.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348629 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 03:40:42 +00:00
James W. Carman 3bedf271e8 37106: serialVersionUIDs should be private (static final long)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348444 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 14:06:56 +00:00
James W. Carman 420a1017eb 37473: Implement a BoundedBuffer class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348429 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 13:16:43 +00:00
James W. Carman 050c817ad5 37607: Enhance BlockingBuffer to allow for a timeout value
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348428 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 13:13:04 +00:00
James W. Carman 5c22988774 Removing TimeoutBuffer (BlockingBuffer will be enhanced instead).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348426 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 13:02:10 +00:00
Stephen Colebourne 28631ec8ad Make serialization version ids private
bug 37106, from Sebb

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348299 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 23:51:45 +00:00
Stephen Colebourne 298bf03c22 StaticBucketMap containsKey doesn't check nulls correctly
bug 37567, from Kazuya Ujihara

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348273 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 22:24:25 +00:00
Stephen Colebourne 8e19f208fa Improve javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348018 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 23:34:37 +00:00
Stephen Colebourne 6c9fa119f5 Add since tags for 3.2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348013 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 23:24:45 +00:00
Stephen Colebourne 2724728c2c Javadoc lack of thread-safety
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348007 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 22:52:57 +00:00
Robert Burrell Donkin 73b6d48549 Added notes about concurrent access to LRUMap.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@347973 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 20:36:21 +00:00
Stephen Colebourne d29ce53657 Make ExtendedProperties support List rather than just Vector
bug 36812, from Henning P. Schmiedehausen

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@333060 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 16:59:51 +00:00
Stephen Colebourne 0d0a25fdfb Tidy up formatting and tests afetr initial checkin
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@333048 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 16:23:35 +00:00
Stephen Colebourne ea2548e01e Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@333047 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 16:21:57 +00:00
Stephen Colebourne e76bffaf96 Catch errors that may occur if LRUMap is used incorrectly
These can be used for debugging if LRUMap has a bug
bug 32573

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@333022 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 15:21:54 +00:00
Stephen Colebourne bd94ccdfa5 Extra tests for the internals of LRUMap
bug 32573

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@333020 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 15:16:47 +00:00
Stephen Colebourne 7e3f2dfbee Improve tests
from 37338

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@332769 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 12:40:01 +00:00
James W. Carman 8e3968cd11 Bug 37472: Implement a TimeoutBuffer class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@332643 13f79535-47bb-0310-9956-ffa450edef68
2005-11-11 20:39:13 +00:00
Stephen Colebourne 5abcddb1d5 values can now be accessed as a List using valueList()
additional list-like method, setValue(int,Object)
rfe 37015

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@321321 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 12:28:08 +00:00
Stephen Colebourne 7de8ea1ed8 Author tag removed at request of author (Sebastian Bazley)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@321246 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 23:23:32 +00:00
Stephen Colebourne 16cd754b19 BlockingBuffer - Fix internal locking code
bug 37028, from Sebastian Bazley

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@312957 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 21:09:15 +00:00
Stephen Colebourne 4fd151ac2d Make PriorityBuffer Serializable
bug 36163, from Steve Phelps

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@307292 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 12:49:53 +00:00
Stephen Colebourne f836ff09ee Enable compilation on JDK1.3
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@307283 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 10:10:04 +00:00
Stephen Colebourne 93724da635 CollectionUtils/MapUtils.isEmpty/isNotEmpty - Null-safe checks of collection emptyness
bug 35890, from Stephen Smith
CollectionUtils.sizeIsEmpty - Checks if a collection, array, map, iterator or enumeration is empty

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@230513 13f79535-47bb-0310-9956-ffa450edef68
2005-08-05 23:07:00 +00:00
Stephen Colebourne ee245946f7 Relax tests for bug 35258
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@224666 13f79535-47bb-0310-9956-ffa450edef68
2005-07-24 23:01:40 +00:00
Stephen Colebourne 9f53a81368 New Transformed*Map factory decorateTransform() that transforms any existing entries in the map
rfe 30959

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219347 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 17:54:00 +00:00
Stephen Colebourne b915fdc02a TreeList/CursorableLinkedList/NodeCachingLinkedList/AbstractLinkedList - Fix iterator remove not working properly when called after previous
bug 35258

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219343 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 17:08:16 +00:00
Stephen Colebourne 2cdf3b0ba8 Fix CursorableLinkedList iterator remove/set not throwing IllegalStateException after next-previous-removeByIndex
bug 35766

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219330 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 14:19:42 +00:00
Stephen Colebourne 6adec6b8d4 Fix UnboundedFifoBuffer deserialization to work with subsequant object manipulation
bug 35763, from Thomas Knych and Jordan Krey

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219317 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 11:30:55 +00:00
Stephen Colebourne e1c5f7fb49 Fix UnboundedFifoBuffer iterator remove bug causing ArrayIndexOutOfBounds
bug 35733, from Andreas Schlosser

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219316 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 11:17:02 +00:00
Stephen Colebourne 1fa2dd8d12 Javadoc and stylistic changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219314 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 11:12:51 +00:00
Stephen Colebourne a4fd44d404 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219306 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 09:51:52 +00:00
Davanum Srinivas 557c0cccf4 Fix from "Knych, Thomas [IT]" <thomas.knych () citigroup ! com>
http://marc.theaimsgroup.com/?l=jakarta-commons-dev&m=112144808412305&w=2



git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219232 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 18:33:44 +00:00
Stephen Colebourne 2923c2de86 AbstractMapBag.BagIterator.remove breaks class invariants when removing last entry
bug 35747, from Steve Clark

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219131 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 23:11:12 +00:00
Stephen Colebourne b3e0e25c37 Deprecate MultiHashMap in favour of MultiValueMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@209683 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 00:13:22 +00:00
Stephen Colebourne 273da76edc Add TestMultiValueMap to suite
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@209680 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 00:04:28 +00:00
Stephen Colebourne d90c123f2f Fix putAll(MultiMap)
bug 35631, reported by Sven Macke

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@209679 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 00:03:50 +00:00
Stephen Colebourne c9a30909de Add keywords
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@209673 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 23:31:39 +00:00
Stephen Colebourne 0fdd5982c3 Add casts to avoid some JDK1.5 compilation warnings
bug 35474, from Will Pugh

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@201765 13f79535-47bb-0310-9956-ffa450edef68
2005-06-25 16:39:34 +00:00
Stephen Colebourne f1f92df311 Fix javadoc references
bug 35186 from Andreas Przygienda

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@185091 13f79535-47bb-0310-9956-ffa450edef68
2005-06-06 23:04:35 +00:00
Stephen Colebourne dc805aee2b Simplify code in iterator remove to avoid incorrect ConcurrentModificationException
bug 34690, from Jack

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@178303 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 22:39:51 +00:00
Stephen Colebourne 4a6212148d Fix ExtendedProperties.convertProperties to pickup any default parent configuration
bug 32204, from Shinobu Kawai

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171380 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 23:04:44 +00:00
Stephen Colebourne 266f67e232 Simplify code in iterator remove to avoid incorrect ConcurrentModificationException
bug 34690, from Guilhem Lavaux at Kaffe

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171360 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 19:23:04 +00:00
Stephen Colebourne f9045aedf3 Fix AbstractHeashedMap initialization to calculate correct threshold
bug 35012, by Christian Siefkes

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171349 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 17:48:56 +00:00
Stephen Colebourne 2b68e826ec Bug 34267: IteratorChain.remove() in combination with FilterIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171347 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 17:27:34 +00:00
Stephen Colebourne e6faf4b4a6 Add MultiValueMap providing control over the map and collection implementations
29440

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171256 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 21:12:54 +00:00
Stephen Colebourne 9072508ad0 Fix put methods, optimize clear method, fix formatting
bug 29440

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171009 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 23:25:46 +00:00
Stephen Colebourne 92cee86ea2 Fix date issue from previous commit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171006 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 22:22:09 +00:00
Stephen Colebourne 245554d888 Fix formatting issues from previous commit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171005 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 22:17:10 +00:00
James W. Carman 61173f58aa 27691: Adding timeout versions of get() and remove()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170761 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 15:03:02 +00:00
James W. Carman e297d23839 29440: Generic MultiMap Implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170760 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 15:00:37 +00:00
James W. Carman 51c9effb79 Bug 34267: IteratorChain.remove() in combination with FilterIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170581 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 11:56:36 +00:00
Stephen Colebourne 721bd10564 Add GrowthList, an auto-grow on set/add list
bug 34171, including code from Paul Legato

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170246 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 18:35:33 +00:00
Stephen Colebourne 1a806b1f2a Add GrowthList, an auto-grow on set/add list
bug 34171, including code from Paul Legato

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170244 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 18:30:49 +00:00
Stephen Colebourne 2e08f50b6f BlockingBuffer now includes InterupttedException stack trace in error
bug 33700, from Seth Ladd

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170211 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 09:36:15 +00:00
Stephen Colebourne f95865f481 Fix Flat3Map.equals to actually work
bug 34917, from Stanislaw Osinski

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170210 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 09:22:50 +00:00
Stephen Colebourne e52c4c50e1 Calculate threshold before putting data in deserialization to avoid memory issue
bug 34265, reported by Marcos Cesar de Oliveira

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@169102 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 18:04:32 +00:00
Stephen Colebourne d9796b6160 Fix so references are properly cleared on Kaffe JVM
bug 34689, by Guilhem Lavaux

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@169101 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 17:26:58 +00:00
Stephen Colebourne 37b6aedcd0 Fix so putAll works with an empty map
bug 34686, reported by Marc Lottman

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@169097 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 17:13:40 +00:00
Stephen Colebourne e7860db9af Deprecate BeanMap, its now available in commons-beanutils-1.7
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@158697 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 23:47:45 +00:00
Stephen Colebourne 74f2c73b6d Fix internal variable to not include non-existant write methods
bug 15895, from Dimiter Dimitrov

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@158694 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 23:17:21 +00:00
Stephen Colebourne 4c282328c8 Add DefaultedMap that returns a default value if the key is not in the map
RFE 30911, by Rafael U. C. Afonso

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@158692 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 22:53:50 +00:00
Stephen Colebourne d6b6fe90bc Use createEntry method from init to create the map entry
bug 33706, reported by William Barsse

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@158688 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 22:14:15 +00:00
Dirk Verbeeck 49da0ff2c6 svn:keywords correction
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@155406 13f79535-47bb-0310-9956-ffa450edef68
2005-02-26 12:55:26 +00:00
Stephen Colebourne 560c4ee8db Fix to SetUniqueList breaks when swapping entries
bug 33294, from Tom Dunham

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@149033 13f79535-47bb-0310-9956-ffa450edef68
2005-01-29 12:51:12 +00:00
Stephen Colebourne 1da9c06f4d Optimise the remove implementation for performance of common case
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131840 13f79535-47bb-0310-9956-ffa450edef68
2005-01-22 00:48:22 +00:00
Stephen Colebourne 46d73eac81 Add lots of tests for bug 33071
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131839 13f79535-47bb-0310-9956-ffa450edef68
2005-01-22 00:47:49 +00:00
Phil Steitz 0b4f8f99f7 Fixed bug in iterator remove. Shift operation was not incrementing indexes
properly.  Also improved documentation.
BZ #33071
Reported by: Amir Tahvildaran


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131837 13f79535-47bb-0310-9956-ffa450edef68
2005-01-15 22:47:41 +00:00
Stephen Colebourne 7b420d7145 Fix MultiHashMap to return null when nothing removed
bug 32366, reported by Tad Marko


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131836 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 00:13:25 +00:00
Stephen Colebourne 92ec7a0d75 Clarify comment on ListOrderedSet
bug 32073


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131835 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 00:01:31 +00:00
Stephen Colebourne 6367b6853c Javadoc
bug 31519, from Olaf Krische


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131833 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 23:52:49 +00:00
Stephen Colebourne 962f0f1b2b Remove unmodifiableXxxCopy methods as they don't add enough value
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131830 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 11:03:45 +00:00
Stephen Colebourne 2e2ac4ba93 Fix formatting
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131828 13f79535-47bb-0310-9956-ffa450edef68
2004-12-19 16:56:31 +00:00
Neil O'Toole 6a8e5d5380 Added new methods to CollectionUtils (plus associated test cases)
#retainAll(Collection, Collection)
#removeAll(Collection, Collection)
#unmodifiableCollectionCopy(Collection)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131827 13f79535-47bb-0310-9956-ffa450edef68
2004-12-11 06:30:38 +00:00
Neil O'Toole 3b1498f6cd Added new convenience method to MapUtils:
#unmodifiableMapCopy


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131826 13f79535-47bb-0310-9956-ffa450edef68
2004-12-11 06:26:13 +00:00
Neil O'Toole f9188963a8 Added test cases for new methods in ListUtils
#retainAll(Collection, Collection)
#removeAll(Collection, Collection)
#unmodifiableListCopy(Collection)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131825 13f79535-47bb-0310-9956-ffa450edef68
2004-12-11 06:24:10 +00:00
Neil O'Toole dde27ccfcb Added new methods:
#retainAll(Collection, Collection)
#removeAll(Collection, Collection)
#unmodifiableListCopy(Collection)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131824 13f79535-47bb-0310-9956-ffa450edef68
2004-12-11 06:22:58 +00:00
Stephen Colebourne 120e4a6b44 Don't access static methods via instance variable
from Chris Tilden


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131823 13f79535-47bb-0310-9956-ffa450edef68
2004-11-12 00:03:43 +00:00
Stephen Colebourne c970798db6 BoundedFifoBuffer/CircularFifoBuffer - Fix serialization to work in case where buffer serialized when full
bug 31433, from Kalle Gustafsson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131822 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 22:23:41 +00:00
Stephen Colebourne 2a8f6db0cd Removing javadoc errors
bug 31519, from Olaf Krische


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131821 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 21:26:14 +00:00
Stephen Colebourne 2fd95f7526 Javadoc tweak, from Koji Sekiguchi
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131820 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 23:39:46 +00:00
Stephen Colebourne a162a7925e No longer uses an exception in normal processing
Bug 30497, reported by John Tal


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131819 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 23:35:03 +00:00
Stephen Colebourne fe0a89a0bb Javadoc tweaks, bug 30191
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131818 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 23:16:48 +00:00
Stephen Colebourne 079c661ea4 Add method putAll to put an array of key/value pairs into a map
Bug 30882, suggested by Rafael U. C. Afonso


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131817 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 23:09:54 +00:00
Stephen Colebourne a324ca7a63 Add method putAll to put an array of key/value pairs into a map
Bug 30882, suggested by Rafael U. C. Afonso


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131816 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 23:03:50 +00:00
Stephen Colebourne ee2a47a0ef Add extra test case to clarify bug 30408
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131814 13f79535-47bb-0310-9956-ffa450edef68
2004-08-03 18:20:41 +00:00
Stephen Colebourne 228637706a Fix scope to allow sub list to be subclassed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131813 13f79535-47bb-0310-9956-ffa450edef68
2004-07-29 22:28:57 +00:00
Stephen Colebourne 3ae470ee28 CollectionUtils.addIgnoreNull new method
bug 30020, from Rafael U. C. Afonso


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131811 13f79535-47bb-0310-9956-ffa450edef68
2004-07-17 21:38:33 +00:00
Stephen Colebourne df3509d391 Javadoc safeAddToMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131810 13f79535-47bb-0310-9956-ffa450edef68
2004-07-17 21:23:59 +00:00
Stephen Colebourne 7da91cadc4 Add LoopingListIterator
bug 30166


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131809 13f79535-47bb-0310-9956-ffa450edef68
2004-07-17 21:08:05 +00:00
Stephen Colebourne 487621cb99 Add LoopingListIterator
bug 30166, from Eric Crampton


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131808 13f79535-47bb-0310-9956-ffa450edef68
2004-07-17 21:02:47 +00:00
Stephen Colebourne 27bc1f9d45 Enable compiliation under JDK1.5
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131803 13f79535-47bb-0310-9956-ffa450edef68
2004-06-26 10:00:42 +00:00
Stephen Colebourne ac06284e5a Fix FastArrayList iterator to work in thread-safe environments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131802 13f79535-47bb-0310-9956-ffa450edef68
2004-06-23 21:41:49 +00:00
Stephen Colebourne f71a560c8a Add missing since tag on new constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131798 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 21:54:35 +00:00
Stephen Colebourne d3697544ee Add extends clause to ensure binary compatibility of ReferenceMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131796 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 21:42:12 +00:00
Stephen Colebourne cbfd9aba68 Handle multiple keys better,
bug reported by Wolfgang Hoschek


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131794 13f79535-47bb-0310-9956-ffa450edef68
2004-06-21 23:39:25 +00:00
Stephen Colebourne 57a6f158f4 Add test case for DualTreeBidiMap sort order
bug 29519, from Jonas Van Poucke


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131792 13f79535-47bb-0310-9956-ffa450edef68
2004-06-21 22:30:05 +00:00
Stephen Colebourne 46fd2cb394 Test DualTreeBidiMap with comparator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131789 13f79535-47bb-0310-9956-ffa450edef68
2004-06-11 23:29:07 +00:00
Stephen Colebourne b03a471292 Fix bug in DualBidiMaps caused by bad design of createMap method
bug 29519


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131788 13f79535-47bb-0310-9956-ffa450edef68
2004-06-11 23:27:37 +00:00
Stephen Colebourne c39712cc37 Update for 3.1 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131787 13f79535-47bb-0310-9956-ffa450edef68
2004-06-10 23:24:45 +00:00
Stephen Colebourne 730d3e5569 Fix copy constructor to work on JDK1.3
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131784 13f79535-47bb-0310-9956-ffa450edef68
2004-06-09 22:11:54 +00:00
Stephen Colebourne 27b695d55c Fix test cases to avoid dependency on DefaultMapEntry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131780 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 23:14:40 +00:00
Stephen Colebourne 328e867f22 Add since tags
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131779 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 22:14:42 +00:00
Stephen Colebourne f123eb4877 Inline constant, rename getter and add since tags
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131778 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 22:13:53 +00:00
Stephen Colebourne a16728cd30 Add new public constructor to ListOrderedMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131777 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 21:51:39 +00:00
Stephen Colebourne cb39538c27 Fix ListOrderedSet to add new factory and direct constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131776 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 21:42:12 +00:00
Stephen Colebourne e81125154e Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131775 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 21:00:58 +00:00
Stephen Colebourne b72b6f471c Improve capacity handling and checks for large maps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131773 13f79535-47bb-0310-9956-ffa450edef68
2004-06-04 23:27:30 +00:00
Stephen Colebourne f98c8827f6 Reinstate FixedSizeSortedMap superclass to avoid binary incompatibility
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131771 13f79535-47bb-0310-9956-ffa450edef68
2004-06-03 22:26:52 +00:00
Stephen Colebourne 457467bbc4 Make decorator classes serializable, bug 18815
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131769 13f79535-47bb-0310-9956-ffa450edef68
2004-06-03 22:02:13 +00:00
Stephen Colebourne 3bdfa558f2 Make buffers serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131767 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 23:12:45 +00:00
Stephen Colebourne e00f903d7e Make decorator classes serializable, bug 18815
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131766 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 22:15:02 +00:00
Stephen Colebourne e96040f146 Make serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131765 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 22:00:47 +00:00
Stephen Colebourne 1093d39c11 Make synchronized classes serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131764 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 23:09:27 +00:00
Stephen Colebourne 60a4d56b07 Make serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131761 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 22:57:18 +00:00
Stephen Colebourne 936f931fdd Add serialization tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131760 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 22:55:54 +00:00
Stephen Colebourne 42b98477bd Add isEqualsCheckable and fix testSerializeDeserializeThenCompare in AbstractTestObject
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131759 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 22:55:14 +00:00
Stephen Colebourne 3f58c1e6f0 Add isTestSerialization() method to block serialization tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131758 13f79535-47bb-0310-9956-ffa450edef68
2004-05-31 22:39:20 +00:00
Stephen Colebourne 111e7b39de Add isEqualsCheckable and fix testSerializeDeserializeThenCompare in Collection
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131757 13f79535-47bb-0310-9956-ffa450edef68
2004-05-31 19:09:14 +00:00
Stephen Colebourne 145b19acc4 Add PredicateDecorator to provide consistent access to predicates
based on code from Brian Lloyd-Newberry


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131756 13f79535-47bb-0310-9956-ffa450edef68
2004-05-31 16:43:17 +00:00
Stephen Colebourne 457b48b892 Replace IteratorUtils calls with direct implementation calls
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131754 13f79535-47bb-0310-9956-ffa450edef68
2004-05-26 21:59:28 +00:00
Stephen Colebourne 19a707c06d Ensure empty iterator implementation is as per v3.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131753 13f79535-47bb-0310-9956-ffa450edef68
2004-05-26 21:56:45 +00:00
Stephen Colebourne bfd55bc3ad Ensure implementation is as per v3.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131752 13f79535-47bb-0310-9956-ffa450edef68
2004-05-26 21:53:18 +00:00
Stephen Colebourne a04f82b5a7 Add iterator to ensure implementation is as per v3.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131751 13f79535-47bb-0310-9956-ffa450edef68
2004-05-26 21:52:40 +00:00
Stephen Colebourne 91d751cc0c Replace calls to Utils classes with direct references to implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131750 13f79535-47bb-0310-9956-ffa450edef68
2004-05-26 21:50:52 +00:00
Stephen Colebourne 49c909bea0 Add additional getInstance method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131749 13f79535-47bb-0310-9956-ffa450edef68
2004-05-26 21:44:05 +00:00
Stephen Colebourne c1fae967af Change to package scoped
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131748 13f79535-47bb-0310-9956-ffa450edef68
2004-05-26 20:57:43 +00:00
Stephen Colebourne 79816f89fb Convert EmptyIterator classes in IteratorUtils to public in iterator package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131735 13f79535-47bb-0310-9956-ffa450edef68
2004-05-22 09:46:39 +00:00
Stephen Colebourne 48a8545611 Add binary incompatability warnings on problem methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131734 13f79535-47bb-0310-9956-ffa450edef68
2004-05-21 22:43:10 +00:00
Stephen Colebourne 90154dba4b Reduce scope of AbstractInputCheckedMapDecorator for v3.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131733 13f79535-47bb-0310-9956-ffa450edef68
2004-05-21 22:02:43 +00:00
Stephen Colebourne 7cef0e520b Remove class as currently incomplete
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131732 13f79535-47bb-0310-9956-ffa450edef68
2004-05-21 21:43:09 +00:00
Stephen Colebourne ee70aa120d Initial version of AbstractSimpleMapDecorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131731 13f79535-47bb-0310-9956-ffa450edef68
2004-05-21 21:42:04 +00:00
Stephen Colebourne a1ef86771c Javadoc how to use Predicated classes
bug 29018


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131730 13f79535-47bb-0310-9956-ffa450edef68
2004-05-21 21:40:10 +00:00
Stephen Colebourne f32d086782 Add serialization version
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131728 13f79535-47bb-0310-9956-ffa450edef68
2004-05-16 11:56:47 +00:00
Stephen Colebourne b04008f49f Code tidy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131726 13f79535-47bb-0310-9956-ffa450edef68
2004-05-16 11:49:24 +00:00
Stephen Colebourne f99d6d6d41 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131725 13f79535-47bb-0310-9956-ffa450edef68
2004-05-16 11:47:38 +00:00
Stephen Colebourne 9522bd7085 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131724 13f79535-47bb-0310-9956-ffa450edef68
2004-05-16 11:36:31 +00:00
Stephen Colebourne d7321ef14d Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131723 13f79535-47bb-0310-9956-ffa450edef68
2004-05-16 11:16:01 +00:00
Stephen Colebourne a916e81cb2 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131722 13f79535-47bb-0310-9956-ffa450edef68
2004-05-16 10:45:52 +00:00
Stephen Colebourne e55c203d54 Javadoc and code tidy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131721 13f79535-47bb-0310-9956-ffa450edef68
2004-05-15 13:24:11 +00:00
Stephen Colebourne 2bf26f1d36 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131720 13f79535-47bb-0310-9956-ffa450edef68
2004-05-15 12:39:13 +00:00
Stephen Colebourne fbe5ab65e5 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131719 13f79535-47bb-0310-9956-ffa450edef68
2004-05-15 12:33:23 +00:00
Stephen Colebourne b13cb3b3b4 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131718 13f79535-47bb-0310-9956-ffa450edef68
2004-05-15 12:27:04 +00:00
Stephen Colebourne 7cad661cf1 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131717 13f79535-47bb-0310-9956-ffa450edef68
2004-05-15 12:13:03 +00:00
Stephen Colebourne bad1d79b7a Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131716 13f79535-47bb-0310-9956-ffa450edef68
2004-05-15 11:59:15 +00:00
Stephen Colebourne 5ca563790b Ensure constructor and clone method correctly clone multimaps
bug 28972


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131715 13f79535-47bb-0310-9956-ffa450edef68
2004-05-14 22:33:58 +00:00
Stephen Colebourne c95ade5f5c Improve implementation of TreeList to perform better, fix bugs
bug 26680, 28930


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131714 13f79535-47bb-0310-9956-ffa450edef68
2004-05-12 23:24:45 +00:00
Stephen Colebourne 785cf45dae Add tests of specific ListIterator behaviour
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131713 13f79535-47bb-0310-9956-ffa450edef68
2004-05-12 22:20:54 +00:00
Stephen Colebourne 60d03cea8f Add behaviour to scan map to find a removable element when full
bug 28887, from Mario Ivankovits


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131712 13f79535-47bb-0310-9956-ffa450edef68
2004-05-12 19:55:56 +00:00
Stephen Colebourne 26b4fbb7d7 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131711 13f79535-47bb-0310-9956-ffa450edef68
2004-05-10 20:37:19 +00:00
Stephen Colebourne eff482b531 Add initial version of TreeList
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131710 13f79535-47bb-0310-9956-ffa450edef68
2004-05-10 19:59:03 +00:00
Stephen Colebourne ec49504b41 Comment entrySet so its clear as to how implementation works
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131709 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:58:33 +00:00
Stephen Colebourne 17f2f14e8e Change to FactoryTransformer to avoid indirect references via TransformerUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131708 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:30:33 +00:00
Stephen Colebourne 7d044b046a Change to UniquePredicate to avoid indirect references via PredicateUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131707 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:29:02 +00:00
Stephen Colebourne 28ff2455d8 Change to InstanceofPredicate to avoid indirect references via PredicateUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131706 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:28:38 +00:00
Stephen Colebourne 9f99282555 Change to InstanceofPredicate to avoid indirect references via PredicateUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131705 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:18:26 +00:00
Stephen Colebourne f95139faac Move validate method next to its comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131704 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:11:04 +00:00
Stephen Colebourne d56568acdf Change internal storage class to an AbstractHashedMap, allowing more choice of implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131702 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 22:57:40 +00:00
Stephen Colebourne 9632130599 Comment out tests as they are unreliable, especially for gump
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131700 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 22:03:06 +00:00
Stephen Colebourne 486a169f5e Add AbstractInputCheckedMapDecorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131699 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 21:48:49 +00:00