Commit Graph

604 Commits

Author SHA1 Message Date
Stephen Colebourne ff648b6cda Remove decorator inner classes.
Transfer static method calls to use new decorators package.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131059 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 18:41:34 +00:00
Stephen Colebourne 9f2689243b Update licence and file layout
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131058 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 18:36:14 +00:00
Stephen Colebourne c9718d0e40 Add extra handling for improved Map internals
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131057 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 18:34:19 +00:00
Stephen Colebourne 5535332edc Ensure map putAll() method does not recurse
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131056 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 18:33:27 +00:00
Stephen Colebourne c284d5a192 Add BoundedCollection collection decorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131055 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 18:01:08 +00:00
Stephen Colebourne ebc5684efd Add Map and SortedMap collection decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131054 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 16:42:36 +00:00
Stephen Colebourne 1c77aedc23 Change typed collections to not implement the interface.
Instead they are just placeholders.
This makes the decorate method more usable in IDEs.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131053 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 16:41:57 +00:00
Stephen Colebourne da665c0d95 Change to extend AbstractListDecorator (better superclass)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131052 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 16:39:23 +00:00
Stephen Colebourne ba9cd0f544 Add new abstract decorator classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131051 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 16:38:16 +00:00
Stephen Colebourne 645063548a Convert instance variable to protected
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131050 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 16:37:30 +00:00
Stephen Colebourne f3d1e3c070 Add Bag collection decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131049 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 13:19:18 +00:00
Stephen Colebourne 0124ad25ac Add Buffer collection decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131048 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 13:18:53 +00:00
Stephen Colebourne 51ace98326 Add Buffer collection decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131047 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 12:19:26 +00:00
Stephen Colebourne 7eb41b7cdd Javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131046 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 12:18:55 +00:00
Stephen Colebourne db5765e6be Tidy imports, javadoc and field access
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131045 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 11:20:21 +00:00
Stephen Colebourne 655ef653bc Add Set and SortedSet collection decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131044 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 11:19:46 +00:00
Stephen Colebourne ddfce4943f Update the list of todo items
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131043 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 09:51:41 +00:00
Robert Burrell Donkin 1ebd856d1f Added ability to make referenced value purgable. This allows an instance to be constructed with weak referenced keys whose values are purged when the keys are garbage collected.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131042 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 09:18:58 +00:00
Robert Burrell Donkin 9e9541ec69 Added myself to committers list ready to apply ReferenceMap patch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131041 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 13:22:37 +00:00
Robert Burrell Donkin 1907fd5d4b Rolled back last commit. Accidentally committed everything in commons when I just wanted to commit docs and xdocs. Doh!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131040 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 11:19:26 +00:00
Robert Burrell Donkin 0960f86b17 Changed charter as per successful VOTE. We now allow any Apache committers to use the sandbox (upon request).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131039 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 10:24:01 +00:00
Rodney Waldhoff 4e1cd68bc0 add tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131038 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 00:04:30 +00:00
Rodney Waldhoff 8f6ef49683 * clean up unused local variables
* scrub imports


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131037 13f79535-47bb-0310-9956-ffa450edef68
2003-05-05 23:25:22 +00:00
Rodney Waldhoff 0eaab38ac2 add *.primitives.decorators.TestAll to the suite
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131036 13f79535-47bb-0310-9956-ffa450edef68
2003-05-04 13:06:14 +00:00
Rodney Waldhoff de09f923b0 add BaseProxyIntCollection, BaseProxyIntList, and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131035 13f79535-47bb-0310-9956-ffa450edef68
2003-05-04 12:58:48 +00:00
Stephen Colebourne c491e7f4f5 Collection and List decorators (previously inner classes)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131034 13f79535-47bb-0310-9956-ffa450edef68
2003-04-29 18:43:47 +00:00
Stephen Colebourne 046411c42b Test new buffer implementation that overwrites the oldest entry when full
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131033 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 15:13:54 +00:00
Stephen Colebourne 76fb648c5c Add additional test for null passed to constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131032 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 15:12:28 +00:00
Stephen Colebourne 4658bffcb6 New buffer implementation that overwrites the oldest entry when full
from Stefano Fornari


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131031 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 15:10:56 +00:00
Stephen Colebourne ad8bc0e6d9 Minor speed improvement
Javadoc/copyright


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131030 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 15:09:48 +00:00
Stephen Colebourne 48b7814cf6 Document null behaviour
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131029 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 14:28:31 +00:00
Stephen Colebourne 36cc05ca35 Add invertMap(Map) method
Add toMap(ResourceBundle) method
from Arun Mammen Thomas


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131028 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 14:27:46 +00:00
Stephen Colebourne fa44d78ebc Updated javadoc
Updated copyright year


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131027 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 11:15:34 +00:00
Stephen Colebourne 70a7e6a6a8 Fix bug in test for sub list ignoring set boolean
Updated test for better error messages
from Neil O'Toole


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131026 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 10:27:59 +00:00
Stephen Colebourne ee342121c5 Updated test for better error messages
from Neil O'Toole


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131025 13f79535-47bb-0310-9956-ffa450edef68
2003-04-26 10:25:35 +00:00
Rodney Waldhoff cec1f64b00 public constructors considered helpful
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131024 13f79535-47bb-0310-9956-ffa450edef68
2003-04-22 21:32:55 +00:00
Rodney Waldhoff 2429ea3deb address bug 19096 by adding a simple toString method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131023 13f79535-47bb-0310-9956-ffa450edef68
2003-04-18 23:29:24 +00:00
Rodney Waldhoff 06e3ca2d37 address bug 17616, default to ISO-8859-1 encoding when none specified
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131022 13f79535-47bb-0310-9956-ffa450edef68
2003-04-18 23:17:09 +00:00
Rodney Waldhoff 9fb7c31640 add non-empty ids to developers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131021 13f79535-47bb-0310-9956-ffa450edef68
2003-04-17 13:21:41 +00:00
Rodney Waldhoff d73e9fcf94 close reader, for completeness
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131020 13f79535-47bb-0310-9956-ffa450edef68
2003-04-17 12:13:14 +00:00
Rodney Waldhoff 6a5cf652be add Reader/CharIterator adapters and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131019 13f79535-47bb-0310-9956-ffa450edef68
2003-04-16 19:45:13 +00:00
Rodney Waldhoff a17d133bb2 a more useful CharList.toString implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131018 13f79535-47bb-0310-9956-ffa450edef68
2003-04-16 19:03:39 +00:00
Rodney Waldhoff 70598bf567 fix minor cut-and-paste issue (needless cast to float)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131017 13f79535-47bb-0310-9956-ffa450edef68
2003-04-16 18:38:09 +00:00
Rodney Waldhoff 1da41c0b71 add char based primitive collections and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131016 13f79535-47bb-0310-9956-ffa450edef68
2003-04-16 18:32:40 +00:00
Rodney Waldhoff 1df7f75362 add ByteIteratorInputStream and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131015 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 17:09:15 +00:00
Rodney Waldhoff 68890c535b additional tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131014 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 16:26:15 +00:00
Rodney Waldhoff 3171e5c1e7 add InputStreamByteIterator and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131013 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 03:07:50 +00:00
Rodney Waldhoff b2528188aa add byte collections and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131012 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 01:55:23 +00:00
Rodney Waldhoff 71a2dba44e implement some TestListIterator tests, hence clearing a TODO
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131011 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 00:27:37 +00:00
Rodney Waldhoff cb320f7403 add double collections and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131010 13f79535-47bb-0310-9956-ffa450edef68
2003-04-15 00:11:20 +00:00