Commit Graph

582 Commits

Author SHA1 Message Date
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
Rodney Waldhoff 969a6804c1 add TestListIterator placeholder
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131009 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 23:26:09 +00:00
Rodney Waldhoff f2328ed4c0 deprecate old style FloatArrayList
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131008 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 23:05:35 +00:00
Rodney Waldhoff f54ad7f89e rename [Test]AbstractRandomAccessXList to just [Test]RandomAccessXList
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131007 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 22:30:57 +00:00
Rodney Waldhoff 95df194b8b add float types and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131006 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 22:08:09 +00:00
Stephen Colebourne 54a2013989 Add new FixedOrderComparator that allows the order to be easily specified
from David Leppik, bug ref 16823


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131005 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 17:37:26 +00:00
Rodney Waldhoff 37b4ba1135 deprecate old style short collections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131004 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 22:01:25 +00:00
Rodney Waldhoff 45ed5c01f7 * add UnsignedByte ShortList
* fix conversion bug in UnsignedShortList.removeElementAt and UnsignedIntList.removeElementAt


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131003 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 21:50:15 +00:00
Rodney Waldhoff 6f8c285fd6 add short types and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131002 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 00:55:37 +00:00
Stephen Colebourne 66a915ccb5 Method names and signatures changed to make more generally useful and clear
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131001 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 23:38:26 +00:00
Stephen Colebourne aa46c52439 Update method names and signatures to make more generally useful and clear
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131000 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 23:37:54 +00:00
Rodney Waldhoff 9bbaba8bcd * add ArrayUnsignedIntList and tests
* deprecate some test cases to reduce the number of deprecation warnings


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130999 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 06:44:34 +00:00
Rodney Waldhoff 8d77ea4efc @deprecate some replaced types
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130998 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 06:24:07 +00:00
Rodney Waldhoff 32a08d4038 add LongCollection, LongList, etc. and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130997 13f79535-47bb-0310-9956-ffa450edef68
2003-04-08 18:24:36 +00:00
Rodney Waldhoff 3766fc5ad2 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130996 13f79535-47bb-0310-9956-ffa450edef68
2003-04-07 16:57:33 +00:00
Rodney Waldhoff 57e5d1aa08 ignore eclipse directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130995 13f79535-47bb-0310-9956-ffa450edef68
2003-04-07 16:41:41 +00:00
Stephen Colebourne af6d9f164f Add lazyMap versions that use a Transformer as their factory.
These are in fact incredibly powerful, especially if wrapped in a synchronized wrapper.
In this case it forms a self-populating cache.
Idea by Dennis Mitchell,  bugzilla ref 17953


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130994 13f79535-47bb-0310-9956-ffa450edef68
2003-04-06 20:07:55 +00:00
Stephen Colebourne 7f942e98b6 Add javadoc comments for inner classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130993 13f79535-47bb-0310-9956-ffa450edef68
2003-04-06 19:32:18 +00:00
Stephen Colebourne 95c52f129b Add typed decorator collections to utility classes
from Matthew Hawthorne


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130992 13f79535-47bb-0310-9956-ffa450edef68
2003-04-04 22:22:29 +00:00
Stephen Colebourne 7b7011dde6 Add licence
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130991 13f79535-47bb-0310-9956-ffa450edef68
2003-04-04 22:20:44 +00:00
Stephen Colebourne de8be58655 Add new equals and hashCode methods that aid implementors of the interfaces
from Neil O'Toole


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130990 13f79535-47bb-0310-9956-ffa450edef68
2003-04-04 20:42:03 +00:00
Stephen Colebourne a73594a4b2 Initial checkin of MultiKey
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130989 13f79535-47bb-0310-9956-ffa450edef68
2003-03-09 00:07:41 +00:00
Rodney Waldhoff 2c36de79a9 clean up TODO list a bit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130988 13f79535-47bb-0310-9956-ffa450edef68
2003-03-05 19:10:51 +00:00