Commit Graph

2261 Commits

Author SHA1 Message Date
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 f8ea63dfdf Added missing contributor to pom.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361598 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 22:14:04 +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
Sebastian Bazley 666c39a321 Update to latest Commons Parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353216 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:14:26 +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 d3d5e3b6df Fix typos in developers guide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353152 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 15:49:16 +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