Commit Graph

139 Commits

Author SHA1 Message Date
Henri Yandell 8127bda219 Moving serializable fixes to enhancements and fixing 'trues' typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@777373 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 05:32:25 +00:00
Henri Yandell 4c9e7ce15d Fixing html
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@776954 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 05:25:54 +00:00
Henri Yandell 9d0bfcc80e Updating release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@776565 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 05:51:22 +00:00
Henri Yandell 700e4e9a68 Adding a note about collections-238 having potential compatibility problems
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@641155 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 05:22:06 +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 9088be6818 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@480447 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 07:41:17 +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 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 eec39dc951 Post release v3.2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@406465 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 22:54:04 +00:00
Stephen Colebourne 6468798462 Improve release note clarity for v3.2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@405928 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 22:57:55 +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 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 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 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 ce1f5a129b Fix spelling
bug 38140, from Matt Benson

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@366572 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 21:38:38 +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
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
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 e2f27b8f90 Javadoc lack of thread-safety
bug 32573

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348015 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 23:26:52 +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 e6c681f115 Javadoc added for BlockingBuffer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@333049 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 16:25:35 +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 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 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 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 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 eaf850538a Fix putAll(MultiMap)
bug 35631, reported by Sven Macke

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@209681 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 00:06:50 +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 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 29d3d6ec87 Group bug fixes into collection types
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171361 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 19:24:47 +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