Commit Graph

2916 Commits

Author SHA1 Message Date
Thomas Neidhart 6975b0567d [COLLECTIONS-512] Revert javadoc comment in AbstractCollectionDecorator, method should not delegate, see COLLECTIONS-543.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1651099 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 14:08:25 +00:00
Thomas Neidhart 9e64a3cb81 [COLLECTIONS-544] Documented runtime complexity of CollectionUtils.retainAll(Collection, Collection). Thanks to Oswaldo Olivo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1651098 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 14:06:07 +00:00
Thomas Neidhart f59e419683 Add jacoco profile after commons-parent changes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1650158 13f79535-47bb-0310-9956-ffa450edef68
2015-01-07 21:05:12 +00:00
Thomas Neidhart aafa5bb6a6 Update NOTICE file.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1650155 13f79535-47bb-0310-9956-ffa450edef68
2015-01-07 21:02:51 +00:00
Thomas Neidhart 161aa07d8b [COLLECTIONS-512] Added note to javadoc of AbstractCollectionDecorator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1649014 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 13:02:46 +00:00
Thomas Neidhart 6180e44ff3 [COLLECTIONS-542] Fix javadoc of AbstractHashedMap wrt inheritance of AbstractMap.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1649010 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 12:32:37 +00:00
Thomas Neidhart f30855735a [COLLECTIONS-539] Changed scope of CircularFifoQueue.isAtFullCapacity to public.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1648957 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 22:01:31 +00:00
Thomas Neidhart 9dbf8388c5 [COLLECTIONS-525] Fix PatriciaTrie.prefixMap(). Thanks to Zigler Zhang.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1648941 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 21:10:46 +00:00
Thomas Neidhart 9acc3e824e Avoid generic return parameter, specify the actual interface being used to avoid compilation problems.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1648910 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 17:26:55 +00:00
Thomas Neidhart 67c51ed7ef Fix compilation error.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1648873 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 16:29:59 +00:00
Thomas Neidhart 90f4139bf7 [COLLECTIONS-511] Added CollectionUtils.partition(...) methods. Thanks to Brent Worden, Nathan Blomquist.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1648844 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 13:51:44 +00:00
Thomas Neidhart 8cb5cbc601 Adding gitignore file.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1648568 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 18:37:29 +00:00
Thomas Neidhart e6c2735e95 [COLLECTIONS-537] Harmonized signature of functor-related factory methods: collection and array based methods did not have the same generic bounds. Thanks to Frank Jakop.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1648561 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 18:24:14 +00:00
Thomas Neidhart 45a0337e1d [COLLECTIONS-540] Added CollectionUtils#get(Enumeration, int), simplified code of CollectionUtils#get(Object, int). Thanks to Daniel Stewart, Issam El Atif. This closes #6.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1647955 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 11:06:23 +00:00
Gary D. Gregory f0b18d27f0 Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635476 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 12:24:46 +00:00
Gary D. Gregory c611542726 Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635475 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 12:23:10 +00:00
Gary D. Gregory c0e4ebfbb0 Redundant superinterface Serializable for the type AbstractListValuedMap<K,V>, already defined by AbstractMultiValuedMap<K,V>.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635474 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 12:22:29 +00:00
Gary D. Gregory 276552d5e7 Redundant superinterface MultiValuedMap<K,V> for the type MultiValuedLinkedHashMap<K,V>, already defined by AbstractMultiValuedMap<K,V>.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635473 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 12:21:54 +00:00
Gary D. Gregory 115198b9c9 Redundant superinterface MultiValuedMap<K,V> for the type MultiValuedHashMap<K,V>, already defined by AbstractMultiValuedMap<K,V>.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635472 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 12:21:32 +00:00
Gary D. Gregory c460996e75 Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635471 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 12:20:21 +00:00
Gary D. Gregory e6cde856d7 Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635355 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 00:23:36 +00:00
Gary D. Gregory 9843210e57 The static method transformedSet(Set<Object>, Transformer<? super Object,? extends Object>) from the type TransformedSet should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635353 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 00:22:49 +00:00
Gary D. Gregory 2edb7a20f3 Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635351 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 00:22:14 +00:00
Gary D. Gregory 3adcd2103d Close file stream in test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635348 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 00:12:34 +00:00
Gary D. Gregory 26e77ea862 Close file stream in test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635347 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 00:10:20 +00:00
Gary D. Gregory 2ed5c6af23 Javadoc: Use the active voice.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635319 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 22:32:31 +00:00
Thomas Neidhart 939527bcc5 [COLLECTIONS-518] Make AbstractIterableGetMapDecorator abstract. Thanks to Dipanjan Laha.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635305 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 21:18:45 +00:00
Thomas Neidhart b9284992ea [COLLECTIONS-536] Improved null check. Thanks to Tagir Valeev.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1635303 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 21:05:03 +00:00
Thomas Neidhart a3503a1b56 Add new concrete MultiValuedMap implementation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1633229 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 21:03:46 +00:00
Thomas Neidhart e317d17ba3 Add missing svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1633228 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 21:02:44 +00:00
Thomas Neidhart ef70e7408f Fix formatting, warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1633227 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 21:00:58 +00:00
Benedikt Ritter f453d6d13f Revert changes from r1632886 after comments by Thomas Neidhart
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1633168 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 14:39:12 +00:00
Thomas Neidhart ad28a3cb5c [COLLECTIONS-534] Added clarifiying comment about performance to CollectionBag.retainAll. Thanks to Oswaldo Olivo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1632904 13f79535-47bb-0310-9956-ffa450edef68
2014-10-19 12:44:34 +00:00
Benedikt Ritter ab82b11dde COLLECTIONS-535: Clarify JavaDoc of MultiKey getKey() and size(). This closes #4 from github. Thanks to Alexander Kjäll
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1632886 13f79535-47bb-0310-9956-ffa450edef68
2014-10-19 10:10:45 +00:00
Dipanjan Laha 8834c8e380 [COLLECTIONS-533] Changing SetValuedLinkedHashMap's default collection to LinkedHashSet to preserve insertion order & some more tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1632539 13f79535-47bb-0310-9956-ffa450edef68
2014-10-17 11:27:23 +00:00
Dipanjan Laha 5310e25a6c [COLLECTIONS-533] Initial commit for MultiValuedLinkedHashMap implementation & tests. Thanks to Geoff Schoeman.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1632534 13f79535-47bb-0310-9956-ffa450edef68
2014-10-17 10:51:23 +00:00
Gary D. Gregory a49283d408 Update cobertura-maven-plugin from 2.5.2 to 2.6.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1628472 13f79535-47bb-0310-9956-ffa450edef68
2014-09-30 15:30:08 +00:00
Gary D. Gregory 923580c0b4 Update findbugs-maven-plugin from 2.5.2 to 2.5.5.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1628471 13f79535-47bb-0310-9956-ffa450edef68
2014-09-30 15:28:33 +00:00
Gary D. Gregory b5ffdaf94a commons-parent 33 -> 34.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1612023 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 06:15:47 +00:00
Gary D. Gregory a159678678 Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1612021 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 04:51:05 +00:00
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