Commit Graph

1444 Commits

Author SHA1 Message Date
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
Stephen Colebourne 45f7b88bc6 Add new methods to BlockingBuffer
bug 27691

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171004 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 22:15:44 +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 d65e2938fc Add GrowthList, an auto-grow on set/add list
bug 34171

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170432 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 19:25:46 +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 decc437cc7 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@169098 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 17:15:39 +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 4b460152a1 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@159154 13f79535-47bb-0310-9956-ffa450edef68
2005-03-27 16:02:24 +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 c286b8023f convert .cvsignore to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@155485 13f79535-47bb-0310-9956-ffa450edef68
2005-02-26 13:43:44 +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 dc1d0beaa0 Change script to satisfy nightly build process
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@153620 13f79535-47bb-0310-9956-ffa450edef68
2005-02-13 11:28:49 +00:00
Stephen Colebourne dd68558fcd Fix cut and paste error
bug 33125, from Chad McHenry

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@151270 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 00:22:31 +00:00
Stephen Colebourne 8b7f8f1a5c 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@151269 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 00:21:00 +00:00
Dirk Verbeeck 21f8d17711 Use SVN changelog
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@149179 13f79535-47bb-0310-9956-ffa450edef68
2005-01-30 23:01:01 +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 33e4e28a60 Added missing end tag.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131838 13f79535-47bb-0310-9956-ffa450edef68
2005-01-15 23:07:22 +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 2e59908928 Year 2005
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131834 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 23:53:48 +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 f484d03958 Remove nagoya references
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131832 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 23:51:41 +00:00
Stephen Colebourne 14906301a1 Add release note comments about retainAll/removeAll
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131831 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 11:10:24 +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 51fb664dd1 Add coding standards section
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131829 13f79535-47bb-0310-9956-ffa450edef68
2004-12-19 21:43:26 +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