Commit Graph

1234 Commits

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