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 |
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
|
71d8237307
|
Update default properties.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682217 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-28 11:55:37 +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
|
83e81cb270
|
Update developer list.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1682179 13f79535-47bb-0310-9956-ffa450edef68
|
2015-05-28 09:04:56 +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 |