Commit Graph

1805 Commits

Author SHA1 Message Date
Thomas Neidhart 68768dbe42 Renamed unit tests, removed unused LocalTestNode class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377066 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 19:36:22 +00:00
Thomas Neidhart 6cbcb9ebc6 Improved IndexedCollection, refactored test to comply with standard test framework.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377059 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 19:21:14 +00:00
Brent Worden e1f8cea8a6 COLLECTIONS-241 forgot serialized collection files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1376831 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 05:37:06 +00:00
Brent Worden a20cd3e0df updated changes with COLLECTIONS-241
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1376828 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 05:15:01 +00:00
Brent Worden 33fa40b72d COLLECTIONS-241 added PassiveExpiringMap and tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1376827 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 05:08:36 +00:00
Thomas Neidhart 2f87b3c187 Moved IndexedCollection to collection package. Only interfaces and utilities shall reside in the top-level package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374401 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 19:13:50 +00:00
Thomas Neidhart c39fd281b7 Renamed unit tests for functors package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374400 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 19:11:35 +00:00
Thomas Neidhart da525f24ad Renamed unit tests for buffer package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374383 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 18:19:59 +00:00
Thomas Neidhart dcb64284ef Renamed unit tests for set package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374067 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:25:00 +00:00
Thomas Neidhart 056d81fe40 Renamed unit tests for keyvalue package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374064 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:10:56 +00:00
Thomas Neidhart 578a598fa7 Renamed unit tests for bidimap and splitmap package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374062 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:07:45 +00:00
Thomas Neidhart 340cf440b9 Added missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374050 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 20:55:42 +00:00
Thomas Neidhart b5715ec19d [COLLECTIONS-393] Added ListUtils.partition method, thanks to Chris Shayan for report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374049 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 20:50:27 +00:00
Thomas Neidhart a5c9272431 Improved javadoc of Trie interface.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371959 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 14:07:23 +00:00
Thomas Neidhart 3254e85306 Added missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371954 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:47:47 +00:00
Thomas Neidhart 6ba3818153 Removed unneeded inheritDoc tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371953 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:33:49 +00:00
Thomas Neidhart f7e1b02c9f Added missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371952 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:33:24 +00:00
Thomas Neidhart 5122c2adf2 Remove added inheritDoc tags again.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371946 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:13:12 +00:00
Thomas Neidhart 56b7b77bab Remove added inheritDoc tags again.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371941 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:05:24 +00:00
Thomas Neidhart 0d02fbe8be Remove added inheritDoc tags again.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371940 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:03:40 +00:00
Thomas Neidhart 6d5d858b17 Remove added inheritDoc tags again.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371939 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:02:05 +00:00
Thomas Neidhart bd169e674c Remove added inheritDoc tags again.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371938 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 12:58:01 +00:00
Thomas Neidhart 452822535d Renamed list tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1370008 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:50:52 +00:00
Thomas Neidhart bdea1ff900 Renamed collection tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369988 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:34:42 +00:00
Thomas Neidhart c8b641ee6e Checkstyle fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369937 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 19:29:00 +00:00
Thomas Neidhart 614013ae31 Checkstyle fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369931 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 19:21:29 +00:00
Thomas Neidhart cf940ca403 Checkstyle fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369925 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 19:11:31 +00:00
Thomas Neidhart f70c2a72ee Type erasure fix changed to a cast.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369355 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 16:08:02 +00:00
Thomas Neidhart 230ae8f1f5 Add javadoc comment to prevent removal of a generics fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369292 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 09:06:21 +00:00
Thomas Neidhart dba4df56e4 Re-added generics fix for java 1.6.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1368802 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 06:26:11 +00:00
Thomas Neidhart 1f09f103a8 [COLLECTION-272] Added to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1367752 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:25:49 +00:00
Thomas Neidhart ab32bf1d78 [COLLECTIONS-272] Added support for serialization to FixedOrderComparator and TransformingComparator, added missing equals/hashCode, renamed tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1367748 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:23:29 +00:00
Thomas Neidhart 61fe60ef9d [COLLECTION-383] Added overriden CollectionUtils#forAllDo method which takes an Iterator as input, thanks to Adrian Cumiskey for report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1367706 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 19:02:53 +00:00
Thomas Neidhart cde8c81a4e [COLLECTIONS-231] Add to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1367700 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 18:22:28 +00:00
Thomas Neidhart a9b7c29bc7 Fixed generics testcase.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366807 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 10:37:03 +00:00
Thomas Neidhart 23405f00a3 Changed test classes for bag package to <Class>Test.java notation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366804 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 10:21:47 +00:00
Thomas Neidhart d3ebd16c42 Fix javadoc and formatting in bag package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366801 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 09:55:01 +00:00
Thomas Neidhart 922da12f3f Cleanup of iterators package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366797 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 09:29:15 +00:00
Thomas Neidhart e5f105dab9 Fixed ordering of attributes in change list.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366795 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 09:17:28 +00:00
Thomas Neidhart 88b7b4b3a0 [COLLECTIONS-379] Fixed javadoc in CollectionUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366204 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 21:18:24 +00:00
Thomas Neidhart 4303c163b1 Add change for 3.2.2 also for 4.0 release, fix javadoc for COLLECTIONS-331.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366195 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 20:50:27 +00:00
Thomas Neidhart bc715edab3 Fix wrong issue reference.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366190 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 20:36:09 +00:00
Thomas Neidhart 459f14b33c [COLLECTIONS-239] to keep backwards compatibility, do not use DefaultEquator in case no equator is specific, but rather use the original equals method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366185 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 20:24:27 +00:00
Thomas Neidhart bb72bc51ce Add change for COLLECTIONS-323 to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366178 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 20:08:11 +00:00
Thomas Neidhart fd5f2734a3 Added COLLECTIONS-404 to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366176 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:56:19 +00:00
Thomas Neidhart 30bbfaf6d6 Javadoc fixes for predicates.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366175 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:53:10 +00:00
Thomas Neidhart b7327a42da [COLLECTIONS-239] Use of generic Equator in EqualPredicate.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366174 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:46:32 +00:00
Thomas Neidhart 09c256dbb3 Small javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366166 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:30:15 +00:00
Thomas Neidhart 14eff09f21 Cleanup of functors package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366162 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:23:39 +00:00
Thomas Neidhart af26dd95c2 Removed svn:executable properties on resource.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366113 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:59:18 +00:00
Thomas Neidhart c5e2cb5c2e Added clarifying javadoc for ListUtils#removeAll wrt runtime performance.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1365784 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 21:39:30 +00:00
Thomas Neidhart ab7f253ce5 [COLLECTION-425] Improved performance of ListOrderedMap#remove method, thanks to Adrian Nistor for report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1365749 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 21:14:42 +00:00
Thomas Neidhart ff79ffc826 [COLLECTION-225] Added missing Unmodifiable marker interface.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1365738 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 20:52:45 +00:00
Thomas Neidhart c57a9af3e7 [COLLECTION-225] Added first version patricia trie contribution.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1365732 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 20:42:48 +00:00
Thomas Neidhart db3e08d2b7 Cleanup of map package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361799 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 21:13:23 +00:00
Thomas Neidhart a24baccfc6 Fix missing eol in package-info.java files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361729 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:16:07 +00:00
Thomas Neidhart 867e3a47dd checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361728 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:13:45 +00:00
Thomas Neidhart 846c7e2733 checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361721 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:05:57 +00:00
Thomas Neidhart 6b73b4d72d Cleanup of main package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361710 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 15:00:21 +00:00
Thomas Neidhart 44bc5d5851 Added first versions of changes.xml and release-notes.vm
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361692 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 11:54:30 +00:00
Thomas Neidhart 65e6819a3d Fix javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361690 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 11:48:04 +00:00
Thomas Neidhart eb1e54d991 Fix @since tag: remove redundant Commons Collections, change 5 to 4.0 where applicable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361689 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 11:45:57 +00:00
Thomas Neidhart 3c233e4caf Cleanup of put/get interface.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361688 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 11:37:50 +00:00
Thomas Neidhart b1cabc6718 change generics workaround.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361686 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 11:19:02 +00:00
Thomas Neidhart 5387e5ef4d Cleanup of set package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361684 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 10:48:36 +00:00
Thomas Neidhart bb8bb80328 [COLLECTIONS-404] moved to comparators.sequence package, cleanup.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361677 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 10:12:33 +00:00
Thomas Neidhart 203a81890d Fix compilation problem with jdk1.5 wrt generics.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361659 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 08:50:52 +00:00
Thomas Neidhart 5486a179db Cleanup of list package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361597 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 22:13:11 +00:00
Thomas Neidhart 20fdf174fe [COLLECTIONS-421] Cleanup of ListUtils, use wildcards for hashCodeForList, use generic example in javadoc, thanks to Benedikt Ritter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361590 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 21:36:25 +00:00
Thomas Neidhart 37ace6950e Cleanup of keyvalue package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356967 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:39:25 +00:00
Thomas Neidhart cb9dca74d3 Fix SplitMapUtils test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356962 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:28:55 +00:00
Thomas Neidhart adac975573 Move SplitMapUtils test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356961 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:27:56 +00:00
Thomas Neidhart 2f86207b2d Cleanup of SplitMapUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356958 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:25:12 +00:00
Joerg Schaible 2f4d235479 More var-args. Clean-up.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356957 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:25:08 +00:00
Thomas Neidhart 60a3e7c07a Cleanup of splitmap package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356955 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:24:25 +00:00
Thomas Neidhart 335f3c4802 Cleanup of comparators package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356950 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:13:33 +00:00
Thomas Neidhart b24253a157 Cleanup of collection package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356933 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 20:49:03 +00:00
Thomas Neidhart a9b11e2cf2 Cleanup of buffer package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356916 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 20:27:01 +00:00
Thomas Neidhart c94dfb59c0 Cleanup bidimap package: package-info.java, version, author tags, javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353747 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 21:18:57 +00:00
Thomas Neidhart f2086a2105 Cleanup bag package: package-info.java, version, author tags, javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353731 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 20:34:32 +00:00
Sebastian Bazley 2de4064e0e Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353221 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:34:56 +00:00
Sebastian Bazley 6e8a14adda Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353220 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:27:37 +00:00
Sebastian Bazley 9979f0c493 Casts away
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353219 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:27:22 +00:00
Sebastian Bazley 43a7d2aa27 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353218 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:22:51 +00:00
Sebastian Bazley 352444404d Missing @Overrides
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353217 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:22:31 +00:00
Thomas Neidhart 1dee765d2d [COLLECTIONS-324] Made protected fields final to improve thread-safety. Thanks to sebb for the report.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353172 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 18:29:44 +00:00
Thomas Neidhart 7c8c58f146 [COLLECTIONS-231] apply signature change to factory method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353169 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 18:02:42 +00:00
Thomas Neidhart 5d40178770 Removed unused imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353167 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 17:50:02 +00:00
Thomas Neidhart c7e9e83f83 [COLLECTIONS-231] apply signature change to factory method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353166 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 17:46:15 +00:00
Thomas Neidhart 3293227598 [COLLECTIONS-231] apply signature change to factory method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353165 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 17:39:28 +00:00
Thomas Neidhart 7f0c6e905a Remove again unneeded closing p tags to keep consistency.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353163 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 17:02:29 +00:00
Thomas Neidhart 5755bebf5d Remove again closing unneeded closing p tags to keep consistency.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353162 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 16:58:25 +00:00
Thomas Neidhart b6aac639d9 Fixed javadoc (closing paragraph elements).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353156 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 16:29:39 +00:00
Thomas Neidhart 8ebc1a038c Javadoc fixes, removed unneeded imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353150 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 15:40:11 +00:00
Thomas Neidhart c2d22264b0 [COLLECTIONS-231] return specific type rather than base type in factory methods, javadoc cleanup.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353148 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 15:35:49 +00:00
Thomas Neidhart b0d4ee9244 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353142 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 15:15:05 +00:00
Thomas Neidhart 44709d8b2a [COLLECTIONS-231] return specific type rather than base type in factory methods, javadoc cleanup.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353139 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 15:05:20 +00:00
Thomas Neidhart 902ee25dcf [COLLECTIONS-231] return specific type rather than base type in factory methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353132 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 14:33:48 +00:00
Thomas Neidhart 36509cf59b Fixed typo in javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353131 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 14:23:46 +00:00
Thomas Neidhart 7c55e29e3d [COLLECTIONS-414] work-around for test-case when providing null argument to static method that infers return type based on input argument.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353130 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 14:21:51 +00:00
Thomas Neidhart 87d923f0d7 [COLLECTIONS-414] Fix type inference problems.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353123 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 12:46:05 +00:00
Thomas Neidhart 6db6aa496f [COLLECTIONS-413] Improve performance of DualBidiMap#removeAll. Thanks to Adrian Nistor for report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353115 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 12:01:11 +00:00
Thomas Neidhart cae889f3c0 [COLLECTIONS-412] Improved performance of CollectionUtils#subtract. Thanks to Adrian Nistor for report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353111 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 11:31:54 +00:00
Thomas Neidhart 13c8e44e6a Use a TreeMap in ListOrderedMap unit test for deterministic entry order.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1352264 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 18:54:36 +00:00
Thomas Neidhart 07d84c5eba Adapted unit test for generics.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1352253 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 18:29:18 +00:00
Thomas Neidhart a753ba0a03 [COLLECTIONS-410] Improved performance of SetUniqueList.addAll(index, coll). Thanks to Adrian Nistor for reporting and providing a patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1352243 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 18:04:19 +00:00
Thomas Neidhart ff9488b31e [COLLECTIONS-441] Fixed IndexOutOfBoundsException when using ListOrderedMap.putAll. Thanks for Adrian Nistor for reporting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1352235 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 17:53:25 +00:00
Thomas Neidhart 37da8fcbc2 [COLLECTIONS-399] added more context information when throwing a NoSuchElementException.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1352213 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 17:19:07 +00:00
Thomas Neidhart cb9f11c0c3 [COLLECTIONS-399] Added get(index) method to BoundedFifoBuffer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1351852 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 21:05:48 +00:00
Thomas Neidhart bd2f3bcced [COLLECTIONS-409] Improve performance of ListOrderedSet#addAll, add missing javadoc. Thanks to Adrian Nistor for reporting and providing a patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1351821 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 19:52:06 +00:00
Thomas Neidhart f3e93a52db [COLLECTIONS-408] improve performance of remove and removeAll methods, add missing javadoc. Thanks to Adrian Nistor for reporting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1351804 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 19:20:16 +00:00
Thomas Neidhart 19de811caf [COLLECTIONS-407] improve performance of remove method by taking method result from underlying collection into account. Thanks to Adrian Nistor for reporting and providing a patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1351800 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 18:59:46 +00:00
Thomas Neidhart c531834764 [COLLECTIONS-406] Improved ListUtils.subtract to O(n) performance. Thanks to Adrian Nistor for reporting and providing a patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1345644 13f79535-47bb-0310-9956-ffa450edef68
2012-06-03 10:22:04 +00:00
Luc Maisonobe eb88ae9669 Added an implementation of Eugene Myers difference algorithm.
JIRA: COLLECTIONS-404

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311964 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 20:09:44 +00:00
Luc Maisonobe 2fa3c8c5f0 fixed line-endings property svn:eol-style for a few existing files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311961 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:54:57 +00:00
Luc Maisonobe 6d8659cad5 reverting commit 1311904
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311954 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:38:24 +00:00
Luc Maisonobe 41d170f076 Added an implementation of Eugene Myers difference algorithm.
JIRA: COLLECTIONS-404

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311904 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 18:22:29 +00:00
Thomas Neidhart 970921c219 [COLLECTIONS-380] Fixed infinte recursion when creating an unmodifiable bounded collection, added unit test, fixed additional javadoc, thanks to Dave Brosius for reporting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311366 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 18:40:36 +00:00
Thomas Neidhart 0b83241a1a [COLLECTIONS-391] Fixed javadoc, thanks to Shin Hwei Tan.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311359 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 18:02:13 +00:00
Thomas Neidhart b9b6f31089 [COLLECTIONS-400] Added missing null check, thanks to Shin Hwei Tan.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311344 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 17:27:15 +00:00
Thomas Neidhart 68673c6c52 [COLLECTIONS-389] Fixed javadoc, thanks to Shin Hwei Tan.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311337 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 17:20:21 +00:00
Thomas Neidhart f806874001 [COLLECTIONS-388] Fixed javadoc, thanks to Shin Hwei Tan.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311334 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 17:13:55 +00:00
Sebastian Bazley 716a128f2a Suppress acceptable raw type warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300077 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 11:15:55 +00:00
Sebastian Bazley 0a67f04278 Javadoc - methods renamed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300075 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 11:11:32 +00:00
Sebastian Bazley 028f528194 Fix bug detected by Eclipse compiler
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300072 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 11:03:22 +00:00
Sebastian Bazley 3545b25d59 Findbugs: more efficient to use valueOf
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300033 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 09:41:08 +00:00
Sebastian Bazley 829da75d82 Findbugs: don't catch Exception; more efficient to use valueOf()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300030 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 09:38:06 +00:00
Sebastian Bazley 392cb361be Fix up paths
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299376 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 15:18:38 +00:00
Sebastian Bazley be5f48ea4f Move test data under test/resources
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299241 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 17:49:28 +00:00
Sebastian Bazley 92e8f95b6a Tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299233 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 17:01:13 +00:00
Sebastian Bazley d4747e7edc Work-round for PMD crash
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299228 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 16:13:31 +00:00
Sebastian Bazley 8b374ab6ff Standardise keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299215 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:56:05 +00:00
Sebastian Bazley e97b1bbb02 Remove $Date$ SVN variable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299210 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:34:45 +00:00
Sebastian Bazley 28d5e308a1 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299209 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:28:37 +00:00
Sebastian Bazley 8ffb78ec50 MOve to standard Maven layout
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1298531 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 19:29:25 +00:00
Gary D. Gregory d51a9262f2 [COLLECTIONS-384] Inconsistent Javadoc comment and code for synchronizedMap(Map) in org.apache.commons.collections.MapUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1195031 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 20:53:06 +00:00
David Brosius db21443715 fix invalid parameter check -- only problem could be that it is null, not, not instanceof Class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1177393 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 18:37:26 +00:00
Matthew Jason Benson 5a2fc90746 [COLLECTIONS-251] improving static factory methods for static importability, conistency
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1148801 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 14:44:46 +00:00
Brent Worden 4499cf0862 COLLECTIONS-213. Added multiple use support to IteratorIterable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127604 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 18:04:29 +00:00
Brent Worden 936fd069c7 COLLECTIONS-313. Added abstract closure that is capable of handling thrown exceptions from closure execution.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127199 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 18:28:13 +00:00
Brent Worden 000e2fed2d COLLECTIONS-306. Added @since.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127125 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 16:12:00 +00:00
Brent Worden 99be993a40 COLLECTIONS-306. Added predicated subtract method to CollectionUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127123 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 16:11:07 +00:00
Brent Worden 0543f907c1 COLLECTIONS-213. Added IteratorIterable adaptor class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1126836 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 02:46:02 +00:00
Brent Worden 07947bd69e [COLLECTIONS-362] changed filter return value to boolean.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1125466 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 16:56:34 +00:00
Brent Worden 501b94143a [COLLECTIONS-229] removed remaining deprecated methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1125367 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 13:04:44 +00:00
Gary D. Gregory d95b0a5105 Follow branding reqs from http://www.apache.org/foundation/marks/pmcs#graphics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079868 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 16:20:17 +00:00
Jochen Wiedmann cb19f2d73f PR: COLLECTIONS-323
Submitted-By: Maarten Brak <maarten.brak@quinity.com>
Allow to use an initial capacity of 0 on certain maps.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079602 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 23:37:01 +00:00
Jochen Wiedmann e4ba77b3b1 PR: COLLECTIONS-331
Documented the requirement to use a comparator.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079587 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 22:31:49 +00:00
Jochen Wiedmann 1327078501 PR: COLLECTIONS-332
Documented the dependency of ListOrderedMap on the standard Map contract of using equals() and hashCode().


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079552 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 21:27:41 +00:00
Jochen Wiedmann 76cca602d5 PR: COLLECTIONS-334
Synchronizing access to locks in StaticBucketMap.size()


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1076039 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 22:35:01 +00:00