Commit Graph

3276 Commits

Author SHA1 Message Date
dlaha a6ebd45286 Update
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1610057 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 21:20:29 +00:00
dlaha b0580d508b [COLLECTIONS-508] Updating equals and hashCode for ListValuedMap, SetValuedMap and MultiValuedMap
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1610049 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 21:10:23 +00:00
Thomas Neidhart 0a7871a141 [COLLECTIONS-529] Added methods removeAll and retainAll to CollectionUtils that use a custom Equator for equality checks. Thanks to Alexander Muthmann and Dipanjan Laha.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1598646 13f79535-47bb-0310-9956-ffa450edef68
2014-05-30 15:44:08 +00:00
Thomas Neidhart bb0a4b6b03 [COLLECTIONS-531] Use proper type bounds for CollectionUtils.isEqualCollection(C, C, Equator). Thanks to Dipanjan Laha.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1598357 13f79535-47bb-0310-9956-ffa450edef68
2014-05-29 18:31:56 +00:00
Thomas Neidhart 0a114bbdb0 [COLLECTIONS-523] Remove unneeded private method. Thanks to Thiago Andrade.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1596053 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 20:47:09 +00:00
Thomas Neidhart d3d48f8347 [COLLECTIONS-516] Added clarification to javadoc in case of null keys/values. Thanks to Cyrille Artho.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1596050 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 20:37:58 +00:00
Thomas Neidhart 527213decc [COLLECTIONS-524] ListOrderedSet.listOrderedSet(List) did not remove duplicates from the input list. Thanks to J Goodfellow.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1592910 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 22:12:50 +00:00
Thomas Neidhart 320c0acf89 [COLLECTIONS-521] Fix MultiKeyMap when using two key arguments and the second is null. Thanks to Maxime Nay.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1592893 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 21:38:05 +00:00
Thomas Neidhart a85fe84ce6 [COLLECTIONS-522] Updated code example for PredicatedList. Thanks to Erik.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1592882 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 20:58:16 +00:00
Thomas Neidhart 62e56cd388 [COLLECTIONS-512] Fix equals method of FixedOrderComparator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1592874 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 20:42:24 +00:00
Thomas Neidhart 23c6db1db6 Update.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1591833 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 08:59:08 +00:00
Thomas Neidhart d61e967bad [COLLECTIONS-519] Revert after discussion on the mailinglist.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1591832 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 08:58:40 +00:00
Thomas Neidhart c48007f44b [COLLECTIONS-519] Constructors of *Utils classes are now protected to allow sub-classing. Thanks to Radoslav Paskalev, Daniel Feist.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1591602 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 11:04:59 +00:00
Thomas Neidhart 0721f49bf0 [COLLECTIONS-508] Further additions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1588354 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 19:45:56 +00:00
Thomas Neidhart bc85bab7a5 [COLLECTIONS-512] Fix equals method for TransformingComparator. Thanks to Cyrille Artho.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1586477 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 21:55:29 +00:00
Thomas Neidhart a431ff8881 [COLLECTIONS-508] javadoc cleanup, interface review.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1585601 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 22:03:09 +00:00
Thomas Neidhart 86b584313f Update version and add contributor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1585336 13f79535-47bb-0310-9956-ffa450edef68
2014-04-06 20:00:08 +00:00
Thomas Neidhart fc4bd9b4d0 [COLLECTIONS-508] Improved original contribution after feedback. Thanks to Dipanjan Laha.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1585335 13f79535-47bb-0310-9956-ffa450edef68
2014-04-06 19:58:37 +00:00
Thomas Neidhart 82b547ad25 [COLLECTIONS-510] Fix compilation errors with java 8. Thanks to Hollis Waite.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1584898 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 20:33:19 +00:00
Thomas Neidhart b0e7365e0c [COLLECTIONS-508] Initial commit of new MultiValuedMap interface + implementations. Thanks to Dipanjan Laha.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1581553 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 22:01:07 +00:00
Thomas Neidhart 56ff5a3481 Fix wrong issue number.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1575587 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 18:48:06 +00:00
Thomas Neidhart 00291db476 [COLLECTIONS-508] Clarify javadoc of CollectionBag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1575586 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 18:47:09 +00:00
Thomas Neidhart c7599fd2a8 Update test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1573753 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 21:25:39 +00:00
Thomas Neidhart 76d073f5a8 Remove duplicate factory methods, no need for it.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1573752 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 21:24:15 +00:00
Thomas Neidhart b68202aa29 Update release information, the next will be 4.1 rather than 4.0.1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1573751 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 21:15:08 +00:00
Thomas Neidhart 649f160522 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1573750 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 21:14:31 +00:00
Gary D. Gregory a00d396051 Update to commons-parent 33.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1570441 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 04:24:18 +00:00
Thomas Neidhart 2ddd54a7dd [COLLECTIONS-507] Removed wrong type bounds for ComparatorUtils.chainedComparator. Thanks to Gerson.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1567759 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 21:17:41 +00:00
Thomas Neidhart d172c62418 Update copyright.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1555733 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 12:37:21 +00:00
Thomas Neidhart e1527d3cb9 [COLLECTIONS-506] Added clarification to CollectionUtils wrt general contract of Object#equals and hashCode.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1554554 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 16:24:45 +00:00
Thomas Neidhart 3a1d8e7db0 [COLLECTIONS-503] Added new IfTransformer and deprecate TransformerUtils.switchTransformer(Predicate, Transformer, Transformer). Thanks to Josh Cain.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1549021 13f79535-47bb-0310-9956-ffa450edef68
2013-12-08 11:41:03 +00:00
Thomas Neidhart 6ab22a7df1 Add missing closure type.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1549020 13f79535-47bb-0310-9956-ffa450edef68
2013-12-08 11:39:48 +00:00
Thomas Neidhart ba8758326c [COLLECTIONS-471] Added BoundedIterator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1546220 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 22:54:05 +00:00
Thomas Neidhart 59899e1c82 Add message to exception.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1546206 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 21:50:47 +00:00
Thomas Neidhart 393fa5df92 Use interface instead of concrete class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1545844 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 21:11:29 +00:00
Thomas Neidhart d0ca1f6e1b Exclude binary test data files from rat plugin.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1544968 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 13:19:55 +00:00
Thomas Neidhart 47cafb82d7 Post release updates.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1544965 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 12:50:02 +00:00
Thomas Neidhart fc336df7ca Update doap file with latest release.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1544964 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 12:47:53 +00:00
Thomas Neidhart 5950eba7ef Update release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543975 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 22:35:45 +00:00
Thomas Neidhart db058c359e Fix for java 1.5 compilation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543971 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 22:16:05 +00:00
Thomas Neidhart c00465cc99 [COLLECTIONS-502] remove generic parameters from static INSTANCE fields.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543964 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 21:53:39 +00:00
Thomas Neidhart 35d4fd2ae7 [COLLECTIONS-502] remove generic parameters from static INSTANCE fields.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543955 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 21:23:53 +00:00
Thomas Neidhart 07d54f1676 [COLLECTIONS-502] remove generic parameters from static INSTANCE fields.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543950 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 21:13:35 +00:00
Thomas Neidhart 8ca8d6823b Remove unused imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543928 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 20:15:35 +00:00
Emmanuel Bourg d990feb367 Minor changes (typo, unused import)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543740 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 09:33:14 +00:00
Emmanuel Bourg 6cf4249650 Added a test for IteratorEnumeration
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543728 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 07:51:32 +00:00
Gary D. Gregory 6df343df26 Remove redundant use of public modifier.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543279 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 00:54:31 +00:00
Gary D. Gregory 84daf6aee0 Remove redundant use of public modifier.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543278 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 00:54:07 +00:00
Gary D. Gregory 233746d8fd Remove redundant use of public modifier.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543277 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 00:53:50 +00:00
Gary D. Gregory dc8138a8a9 Remove redundant use of public modifier.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543276 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 00:53:14 +00:00