Commit Graph

1205 Commits

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