Sebastian Bazley
|
c87eeaa4f7
|
CP37 => CP38
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1688413 13f79535-47bb-0310-9956-ffa450edef68
|
2015-06-30 09:53:30 +00:00 |
Thomas Neidhart
|
92406348db
|
Clarify that returned uniqueSet only supports removal operations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1688313 13f79535-47bb-0310-9956-ffa450edef68
|
2015-06-29 21:31:56 +00:00 |
Thomas Neidhart
|
0db8c22eb1
|
[COLLECTIONS-567] Add Predicated and Synchronized decorators.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1688308 13f79535-47bb-0310-9956-ffa450edef68
|
2015-06-29 21:28:54 +00:00 |
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
|
121dba83e0
|
Remove obsolete TODO.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682771 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-31 18:51:15 +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 |