Commit Graph

2202 Commits

Author SHA1 Message Date
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
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