Commit Graph

2346 Commits

Author SHA1 Message Date
Thomas Neidhart 74199bc2ba Add reference to parent ticket.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1688303 13f79535-47bb-0310-9956-ffa450edef68
2015-06-29 20:41:17 +00:00
Thomas Neidhart 3ac225d9a5 Fix checkstyle warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1686950 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 21:51:07 +00:00
Thomas Neidhart 9314193c8c [COLLECTIONS-572] Add set operations to SetUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1686948 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 21:49:27 +00:00
Thomas Neidhart 90509ce84e Add indexOf methods to IterableUtils and IteratorUtils, replace last occurrence of ArrayStack with ArrayDeque.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1686921 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 19:48:47 +00:00
Thomas Neidhart 68bbd2cf4a [COLLECTIONS-570] Consistently use a NullPointerException if a required input is null.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1686855 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 13:00:27 +00:00
Thomas Neidhart 0acb702f3e [COLLECTIONS-571] Deprecate CollectionUtils.{synchronized,unmodifiable}Collection.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1686826 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 10:17:20 +00:00
Thomas Neidhart 9f363c0dae Fix checkstyle warnings, cleanup IteratorUtils, fix throws clauses.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1685902 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 20:13:13 +00:00
Thomas Neidhart 68b92abce7 Revert to returning null.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1685310 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 19:38:32 +00:00
Thomas Neidhart 1954a51bb5 Continue review of multimap package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1685299 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 18:27:11 +00:00
Thomas Neidhart 4f5a854b28 Continue review of MultiValuedMap interface and implementations: code style and formatting, use NullPointerException for null arguments, use MultiSet instead of Bag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684983 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 22:07:08 +00:00
Thomas Neidhart fb08d55cbe Add unmodifiable multiset decorator, abstract base test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684982 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 22:05:50 +00:00
Thomas Neidhart eced8829bf [COLLECTIONS-567] Add interface / skeleton code and first implementation of a MultiSet.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684969 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 20:30:39 +00:00
Thomas Neidhart f188400b22 Fix comments.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684859 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 11:57:24 +00:00
Thomas Neidhart bb7ddb5396 Add missing svn:keywords.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684264 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 20:06:29 +00:00
Thomas Neidhart b653182a8a Add ComparatorUtilsTest.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684262 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 20:05:37 +00:00
Thomas Neidhart be1e92fa79 Complete unit tests for FluentIterable, fix exception for toArray.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684252 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 19:38:26 +00:00
Thomas Neidhart f4693f0adf Clarify null argument behavior of IterableUtils and FluentIterable: decorators do not accept null values, whereas utility methods are null-safe wrt Iterable instances.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684147 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 11:08:42 +00:00
Thomas Neidhart a049083c8f Rename cardinatlity to frequency, apply to forEach, add empty and singleton methods to FluentIterable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684123 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 08:53:26 +00:00
Thomas Neidhart fd7506f4d7 Add missing @Override tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683951 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:19:03 +00:00
Thomas Neidhart 80b08f8c3a Move cardinality method, rename frequency to countMatches.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683914 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 14:29:12 +00:00
Thomas Neidhart ed1d755bab Add emptyIfNull method, simplification.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683900 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 12:16:11 +00:00
Thomas Neidhart 6c8caea331 [COLLECTIONS-551] Move forAllButLastDo methods, add unmodifiableIterable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683897 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 12:00:46 +00:00
Thomas Neidhart 5214f66618 [COLLECTIONS-551] Move partition methods from CollectionUtils to IterableUtils. Make method consistent: do not allow null predicates, return the same for a null iterable as for an empty one.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683894 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 08:54:54 +00:00
Thomas Neidhart ed39f93348 Add more tests, add emptyIterable() method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683759 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 14:06:47 +00:00
Thomas Neidhart 8d78483013 Fix checkstyle warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683722 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 12:00:32 +00:00
Thomas Neidhart c33d3969a3 Add more FluentIterable tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683688 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 09:41:04 +00:00
Thomas Neidhart 2403bf6543 Fix checkstyle warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683648 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 21:33:43 +00:00
Thomas Neidhart bafb7096f0 Minor changes to FluentIterable, added toList to IterableUtils, added first FluentIterable tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683646 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 21:12:09 +00:00
Thomas Neidhart d1270edd92 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683632 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 20:38:03 +00:00
Thomas Neidhart 73d69dfe86 [COLLECTIONS-566] Use natural ordering in IteratorUtils#collate when the provided comparator is null.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683631 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 20:36:25 +00:00
Thomas Neidhart 7c99c6234c Fix checkstyle warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683576 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 15:23:56 +00:00
Thomas Neidhart 2d00ed4676 [COLLECTIONS-551] Move more methods from CollectionUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683492 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 08:52:55 +00:00
Thomas Neidhart ee1a5f5639 Catch correct exception.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683041 13f79535-47bb-0310-9956-ffa450edef68
2015-06-02 04:59:59 +00:00
Thomas Neidhart 6937f0de2a Fix javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683020 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 22:42:18 +00:00
Thomas Neidhart ad618b7af9 Deprecate MultiValueMap and MultiMap, replaced by MultiValuedMap.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683019 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 22:41:56 +00:00
Thomas Neidhart 7727c1cc08 Deprecate MultiValueMap and MultiMap, replaced by MultiValuedMap.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683018 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 22:41:31 +00:00
Thomas Neidhart e3edcb9349 Fix javadoc problem.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683016 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 22:40:56 +00:00
Thomas Neidhart 0ec653ec42 Update unit test after method changes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683014 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 22:28:43 +00:00
Thomas Neidhart 6b323f0f53 First review of MultiValuedMap: formatting, throw NullPointerException for null inputs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683013 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 22:27:22 +00:00
Thomas Neidhart 1c0b6089f4 [COLLECTIONS-533] Revert incomplete implementation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683011 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 21:59:10 +00:00
Thomas Neidhart d4fbeefc52 Convert to Junit 4 tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683010 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 21:54:51 +00:00
Thomas Neidhart d684f950c4 [COLLECTIONS-551] First bunch of methods which take an Iterable/Iterator/Enumeration as input shall be moved to the appropriate Util classes. Mark existing methods in CollectionUtils as deprecated.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683009 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 21:53:01 +00:00
Thomas Neidhart 2eb1586bf7 [COLLECTIONS-557] Added support to specify the initial size of a LRUMap. Thanks to Philippe Mouawad.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682859 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 10:12:13 +00:00
Thomas Neidhart 8b04e57194 Make FluentIterable method covariant.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682776 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 19:31:15 +00:00
Thomas Neidhart b3fd256017 Use long instead of int.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682774 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 19:08:47 +00:00
Thomas Neidhart 4c818fb356 [COLLECTIONS-518] Revert and postpone change to 5.0.TODO.txt
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682770 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 18:50:54 +00:00
Thomas Neidhart 159b36e66e [COLLECTIONS-565] Add decorators for NavigableSet interface.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682768 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 18:35:18 +00:00
Thomas Neidhart 8b328d838e Remove accidental commit.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682423 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 11:34:10 +00:00
Thomas Neidhart 6ed868d4d0 Rename SetUtils.identityHashSet to SetUtils.newIdentityHashSet to better reflect that it returns a new instance.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682416 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 10:59:39 +00:00
Thomas Neidhart 1a3337262c Simplify.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682394 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 08:39:06 +00:00
Thomas Neidhart fe95eebf7d Simplify.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682393 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 08:35:51 +00:00
Thomas Neidhart ba72be98b6 Fix checkstyle warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682211 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 11:16:44 +00:00
Thomas Neidhart b1e21c8a6e Add unit test for ZippingIterator, add factory methods to IteratorUtils, add changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682196 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 09:58:09 +00:00
Thomas Neidhart c193f6556f Add unit test for SkippingIterator, fix bug.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682188 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 09:42:01 +00:00
Thomas Neidhart 9cb3de6713 Add apply method to FluentIterable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682126 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 21:34:35 +00:00
Thomas Neidhart e57282bd9c Add collating, zipping, reversing methods to FluentIterable, add ZippingIterator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682121 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 21:18:19 +00:00
Thomas Neidhart db0582a60e Add changelog entries for COLLECTIONS-464
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1681858 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 20:46:25 +00:00
Thomas Neidhart eb5e737f8f Add javadoc, simplify IterableUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1681857 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 20:46:09 +00:00
Thomas Neidhart 27a92653a0 [COLLECTIONS-464] Add first version of a FluentIterable implementation, cleanup recently toString methods in IterableUtils, add SkippingIterator and additional methods to IteratorUtils and IterableUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1681783 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 15:54:09 +00:00
Thomas Neidhart 1918bb005e [COLLECTIONS-556] Added method SetUtils.identityHashSet.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1681635 13f79535-47bb-0310-9956-ffa450edef68
2015-05-25 19:18:50 +00:00
Thomas Neidhart 0e11402b98 [COLLECTIONS-562] Upgrade minimum java requirement to Java 6. Replace ArrayStack with ArrayDeque.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1681434 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 10:49:58 +00:00
Thomas Neidhart 289e7a769e javadoc improvements to collect methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1681429 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 09:54:09 +00:00
Thomas Neidhart ccad4919ac Add missing Since tag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1671835 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 12:48:37 +00:00
Thomas Neidhart df22e0c5d2 [COLLECTIONS-543] Do not override equals and hashCode for abstract collections.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1671833 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 12:29:46 +00:00
Thomas Neidhart 0f4a98cfe1 [COLLECTIONS-395] Added LRUMap#get(Object, boolean) to query the map without affecting the lru order. Thanks to David Hawthorne.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1671832 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 12:25:18 +00:00
Thomas Neidhart 640670bd86 [COLLECTIONS-558] Change return type of ListOrderedSet#remove(int) to the generic type parameter. Thanks to Felix Rabe
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1669140 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 16:02:45 +00:00
Thomas Neidhart ae97a498d1 Remove @Override annotation on interface.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1669139 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 16:01:54 +00:00
Thomas Neidhart 583d96b089 [COLLECTIONS-555] Added clarification to TreeBag#add(Object) wrt null arguments. Thanks to M Kim.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1660515 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 22:02:59 +00:00
Thomas Neidhart 39513f9142 [COLLECTIONS-550] Added IterableUtils#toString(...) to newly created IterableUtils class. Thanks to Goncalo Marques. This closes #7.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1656600 13f79535-47bb-0310-9956-ffa450edef68
2015-02-02 23:10:32 +00:00
Thomas Neidhart 2db7aa771a [COLLECTIONS-427] Revert performance improvement and add clarifying javadoc wrt runtime complexity.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1655062 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 15:09:02 +00:00
Thomas Neidhart a3b3b74ec6 [COLLECTIONS-426] Revert performance improvement and add clarifying javadoc wrt runtime complexity.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1655060 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 15:03:22 +00:00
Thomas Neidhart 1ca637930f [COLLECTIONS-523] Add javadoc and close pull request. This closes #2.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1654521 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 14:13:16 +00:00
Thomas Neidhart dd5e51e5b3 [COLLECTIONS-530] Added Builder for PredicatedCollection. Thanks to Erik.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1654518 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 14:03:40 +00:00
Thomas Neidhart 5d42c95c33 [COLLECTIONS-545] Documented runtime complexity of CollectionUtils#removeAll(Collection, Collection).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1654156 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 09:34:18 +00:00
Thomas Neidhart 30e5023265 [COLLECTIONS-543] AbstractCollectionDecorator does not forward equals and hashCode anymore to the backing collection.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1651115 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 15:21:18 +00:00
Thomas Neidhart 32155107dd Fix findbugs error.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1651113 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 15:16:53 +00:00
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 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 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