Rodney Waldhoff
4b47c895c4
* reduce ComparableComparator.compare to "return ((Comparable)o1).compareTo(o2)"
...
* some javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130942 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 22:34:57 +00:00
Rodney Waldhoff
799b3be413
javadocs
...
add test
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130941 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 21:52:28 +00:00
Rodney Waldhoff
dc7995810d
* add copy constructors to AbstractRandomAccessIntList, ArrayIntList and ArrayUnsignedShortList
...
* more javadocs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130940 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 12:59:45 +00:00
Rodney Waldhoff
c40e37a018
minor license, javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130939 13f79535-47bb-0310-9956-ffa450edef68
2003-01-12 15:23:20 +00:00
Rodney Waldhoff
6d2d1970fb
more minor javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130938 13f79535-47bb-0310-9956-ffa450edef68
2003-01-11 21:34:39 +00:00
Rodney Waldhoff
ce4f5d6bcb
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130937 13f79535-47bb-0310-9956-ffa450edef68
2003-01-11 21:32:20 +00:00
Rodney Waldhoff
e887366de0
license fixes (acknowlegement ->acknowledgment; Group -> Software Foundation)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130936 13f79535-47bb-0310-9956-ffa450edef68
2003-01-11 21:28:03 +00:00
Rodney Waldhoff
fcc3dec6f0
* fix gump's javadoc warnings
...
* fix spelling of "acknowledgment"
* remove duplicate @author entry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130935 13f79535-47bb-0310-9956-ffa450edef68
2003-01-11 01:07:13 +00:00
Rodney Waldhoff
43e7d53839
document IntList.equals and IntList.hashCode contracts
...
add test ensuring proper implementation of IntList.hashCode
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130934 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 21:13:19 +00:00
Rodney Waldhoff
58e491f4b4
fix various javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130933 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 20:21:25 +00:00
Rodney Waldhoff
e648a45b61
add javadocs to Int[List]Iterator
...
fix typo in IntList javadocs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130932 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 19:24:10 +00:00
Rodney Waldhoff
40a2554a07
remove duplicate @version tag
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130931 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 18:55:13 +00:00
Rodney Waldhoff
abd1fe5068
move IntListIterator back up to primitives package (oops, didn't mean to move it down to adapter in the first place)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130930 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 18:52:38 +00:00
Rodney Waldhoff
3a44e9291a
javadocs
...
also fix spelling of "acknowledgment" in the license text
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130929 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 18:47:15 +00:00
Rodney Waldhoff
0f4975fe36
adding serialized version of BooleanComparator, enabling relevant tests
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130928 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 17:08:29 +00:00
Rodney Waldhoff
8ae0426500
scrub imports
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130927 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 13:28:34 +00:00
Rodney Waldhoff
d1b9647e25
extract superclass TestIntList
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130926 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 13:27:55 +00:00
Rodney Waldhoff
69c423e40f
add BooleanComparator and tests
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130925 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 00:21:08 +00:00
Rodney Waldhoff
c97200ea71
add test ensuring makeObject.equals(null) doesn't fail
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130924 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 00:15:09 +00:00
Rodney Waldhoff
8f5eb39aa4
move primitive/object adapters down to adapter sub-package
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130923 13f79535-47bb-0310-9956-ffa450edef68
2003-01-09 13:40:11 +00:00
Rodney Waldhoff
a55fe3e992
add base testSerializeDeserializeThenCompare test, modify concrete TestCases so that they pass this test (or when necessary, skip them)
...
this tests the Comparator.equals contract, among others
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130922 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 23:44:20 +00:00
Stephen Colebourne
a11c82f3bc
Add Apache licence
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130921 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 23:40:57 +00:00
Rodney Waldhoff
b5f981ff98
override equals and hashCode to match Comparator contract
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130920 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 23:26:47 +00:00
Rodney Waldhoff
3264047c67
support equals and hashCode per Comparator contract
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130919 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 23:05:33 +00:00
Rodney Waldhoff
57335290f7
adjust arg name to match javadoc comment
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130918 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 18:49:01 +00:00
Rodney Waldhoff
f150178847
support equals as per the Comparator contract
...
support hashCode for this equals as per the Object contract
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130917 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 18:40:45 +00:00
Rodney Waldhoff
4c71dedc3a
cosmetic changes only (convert tabs to spaces, add braces one line blocks)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130916 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 18:20:07 +00:00
Rodney Waldhoff
f146a43e76
add ArrayUnsignedShortList, and tests
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130915 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 18:04:52 +00:00
Rodney Waldhoff
37b1a12876
apply Rich Dougherty's patch fixing NodeCachingLinkedList unit tests
...
this also adds CommonsLinkedList and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130914 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 15:18:15 +00:00
Rodney Waldhoff
8f77a02066
* fix problems with IntListList and ListIntList equals methods
...
* throw IndexOutOfBounds instead of IllegalArgument, where necessary
* re-enable TestArrayIntList suite
* re-enable primitives.TestAll suite from root (not clear why this would have been disabled)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130913 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 13:24:52 +00:00
Rodney Waldhoff
fc65ecbb81
add toString
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130912 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 01:34:07 +00:00
Rodney Waldhoff
4f633bcf7f
screwed up the unit tests somehow, comment out for now (will fix in the AM)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130911 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 01:29:28 +00:00
Rodney Waldhoff
0ff5503e97
* add additional adapters
...
* modify wrappers so that equals compares wrapped types
* clarify IntList.equals with javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130910 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 00:59:51 +00:00
Rodney Waldhoff
6572959b52
follow Stefan's advice and use ${year} instead of "2003"
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130909 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 00:08:38 +00:00
Rodney Waldhoff
5bf91f7575
* run test as part of dist -- good for gump, good for releases
...
* update © to include 2003
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130908 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 13:00:54 +00:00
Rodney Waldhoff
4149f26f94
cosmetic changes only
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130907 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 12:54:57 +00:00
Rodney Waldhoff
f6c5790d9f
expose ${javac.debug}, ${javac.deprecation} and ${javac.optimize} properties
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130906 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 12:54:05 +00:00
Rodney Waldhoff
5cec4b2b96
better deprecation messages
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130905 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 04:05:39 +00:00
Rodney Waldhoff
6ce6f9ccbc
* add ArrayIntList, AbstractRandomAccessIntList
...
* add missing addAll(int,IntCollection) method to IntList
* add tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130904 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 03:59:12 +00:00
Rodney Waldhoff
2c7a674eea
add IntList to List adapter
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130903 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 03:57:42 +00:00
Rodney Waldhoff
5033cc3758
add IntListIterator to ListIterator adapter
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130902 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 03:57:15 +00:00
Rodney Waldhoff
081e3fcc15
oops, retainAll should delegate to retainAll, not removeAll
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130901 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 03:56:21 +00:00
Rodney Waldhoff
8922bd8321
make package doc scalable
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130900 13f79535-47bb-0310-9956-ffa450edef68
2003-01-05 13:33:05 +00:00
Rodney Waldhoff
9262cd48a0
add basic adapters
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130899 13f79535-47bb-0310-9956-ffa450edef68
2003-01-05 03:03:42 +00:00
Rodney Waldhoff
456a094e3f
add base int collection impl
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130898 13f79535-47bb-0310-9956-ffa450edef68
2003-01-05 03:03:14 +00:00
Rodney Waldhoff
44e2acadff
get should return int not Object
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130897 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 23:16:29 +00:00
Rodney Waldhoff
8302eabc7b
add IntCollection, IntList, IntIterator, IntListIterator
...
deprecate various AbstractIntList implementations as a warning of impending change
(note that nothing in primitives.* has yet been released)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130896 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 15:00:57 +00:00
Rodney Waldhoff
ceba1806c3
should have updated copyright with last commit
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130895 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 13:43:10 +00:00
Rodney Waldhoff
42f142840e
name the file we're looking for on test failure
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130894 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 13:10:27 +00:00
Stephen Colebourne
968607b9c5
Add empty unmodifiable implementations for all collections
...
Add synchronized/unmodifiable implementations for all collections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130892 13f79535-47bb-0310-9956-ffa450edef68
2002-12-15 13:05:03 +00:00