Commit Graph

3276 Commits

Author SHA1 Message Date
Thomas Neidhart a02dafa47d Remove todos related to privatizing fields -> keep it as is for now.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493940 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 21:11:03 +00:00
Thomas Neidhart c5cc3a04e2 Add change log entry for CompliantBag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493939 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 21:08:51 +00:00
Thomas Neidhart 7725a72c73 [COLLECTIONS-468] Added CompliantBag decorator which decorates another bag to comply with the Collection contract.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493938 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 21:06:00 +00:00
Thomas Neidhart 1c8fbeaec2 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493930 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 20:42:55 +00:00
Thomas Neidhart f8186792d1 added change entry for collections-459.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493923 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 20:30:21 +00:00
Thomas Neidhart 68c0a80d17 [COLLECTIONS-459] Removed setArray methods in ArrayIterator and ObjectArrayIterator, made fields final if possible.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493922 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 20:25:23 +00:00
Thomas Neidhart 20619b096c [COLLECTIONS-455] Remove todos: keep decorated object protected.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493902 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 19:40:34 +00:00
Thomas Neidhart f9930aa9f3 Remove todo: types have been reviewed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493564 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 18:20:11 +00:00
Thomas Neidhart 99c63edb10 submap view serialization works now properly.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493561 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 18:16:01 +00:00
Thomas Neidhart ce1dc52bec Add comment to Todo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493556 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 18:02:35 +00:00
Thomas Neidhart bf07b37e9a Fix link.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493555 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 18:01:59 +00:00
Thomas Neidhart b1e8bcec97 Update assembly descriptor after moving of resources.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493545 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 17:47:31 +00:00
Thomas Neidhart 136b96c803 Fix findbugs warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493544 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 17:47:07 +00:00
Thomas Neidhart 56e4fac908 Further cleanup of build.xml: remove references to emma and other obsolete stuff.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493542 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 17:39:11 +00:00
Thomas Neidhart 3639533ad6 Update build.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493531 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 16:40:40 +00:00
Thomas Neidhart 75bac6a355 Move configuration files to src/conf, update pom, add overrides for site path and scm pub url.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493528 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 16:26:10 +00:00
Thomas Neidhart 1ee5fd53b5 Update to parent 30, add clirr config.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493524 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 15:57:03 +00:00
Thomas Neidhart 0dee0324f6 Updates to tries: remove synchronized decorator, add javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493523 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 15:56:35 +00:00
Thomas Neidhart 157aa8daeb Make tests compile with various compilers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493012 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 09:43:29 +00:00
Thomas Neidhart 0eaf4db681 Added change entry for trie package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1492871 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:17:31 +00:00
Thomas Neidhart d5f763bd9e Removed obsolete test resources.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1492869 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:02:05 +00:00
Thomas Neidhart 4a025d3f8e Refactor trie package: reduce interface by extending IterableSortedMap and only adding prefixMap method, remove all key analyzers but the StringKeyAnalyzer, refactor PatriciaTrie class by moving all remaining methods to AbstractPatriciaTrie and fixing the key type to String, integrating the test classes into the framework.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1492867 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:01:23 +00:00
Thomas Neidhart 83226e162d Refactor trie package: reduce interface by extending IterableSortedMap and only adding prefixMap method, remove all key analyzers but the StringKeyAnalyzer, refactor PatriciaTrie class by moving all remaining methods to AbstractPatriciaTrie and fixing the key type to String, integrating the test classes into the framework.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1492866 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:01:00 +00:00
Thomas Neidhart ed085d064c [COLLECTIONS-470] Renamed TransformedMap class in splitmap package to TransformedSplitMap.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1491944 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 20:29:22 +00:00
Thomas Neidhart 8e34831a65 Added todo for trie tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1491623 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 22:06:34 +00:00
Thomas Neidhart 81e47470cc Further cleanup of trie package & interface, renamed AbstractTrie to AbstractBitwiseTrie, added TODOs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1491621 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 22:05:38 +00:00
Thomas Neidhart 467d516b9c Cleanup of trie package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1491615 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 21:46:19 +00:00
Thomas Neidhart edd64cfd82 [COLLECTIONS-472] Improved performance of AbstractMapBag#containsAll. Thanks to Adrian Nistor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1491258 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 18:35:24 +00:00
Sebastian Bazley 8f5e319af8 A bit more Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482645 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 23:52:09 +00:00
Thomas Neidhart ee1c540920 Update release notes to include split map addition
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482553 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 20:10:10 +00:00
Thomas Neidhart 2e36e5e908 [COLLECTIONS-461] Added javadoc clarification to Put. Thanks to mbenson.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482544 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 20:02:25 +00:00
Thomas Neidhart 3b57c46c76 Fix version tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482539 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 19:52:43 +00:00
Thomas Neidhart ee7ed6e655 Formatting + svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482538 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 19:48:56 +00:00
Thomas Neidhart cdacd4a987 [COLLECTIONS-460] Change IteratorChain to use a Queue internally.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482514 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 18:36:12 +00:00
Thomas Neidhart 556ac8b0ad Fix javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482073 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 20:09:40 +00:00
Thomas Neidhart d9ed7afd9e [COLLECTIONS-466] Added entry to release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1481621 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 18:43:06 +00:00
Thomas Neidhart a86de44927 Removed TODO, as the current API is fine imho: two versions, one for Iterable, one for Iterator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1481606 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 16:58:49 +00:00
Thomas Neidhart 709aa7bf9c [COLLECTIONS-466] Replace Collection with Iterable where applicable in CollectionUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1481605 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 16:56:26 +00:00
Thomas Neidhart 1194c69fb1 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1481598 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 16:28:28 +00:00
Thomas Neidhart 1fe64733a2 [COLLECTIONS-466] Replaced Collection with Iterable in MapUtils.populateMap methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1480230 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 11:35:20 +00:00
Thomas Neidhart 54bbca8904 [COLLECTIONS-463] Add PushbackIterator. Thanks to Andy Seaborne.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479763 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 05:28:39 +00:00
Thomas Neidhart d16f842887 Document the reason chainedIterator(Iterator, Iterator) still remains.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479761 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 05:19:57 +00:00
Thomas Neidhart 73dcea01b1 [COLLECTIONS-462] Added PeekingIterator. Thanks to Andy Seaborne
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479760 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 05:12:06 +00:00
Thomas Neidhart 278eed3e1f Add again chainedIterator method with 2 iterators to avoid generics warning in client code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479682 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 19:12:25 +00:00
Sebastian Bazley fbb81a37f8 Fix up a raw type
TODO: the whole test class looks wrong - why is it parameterised? If does not seem to have a specific instantiation

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479412 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 22:30:51 +00:00
Sebastian Bazley c68c274bfa Document why warnings can be ignored here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479408 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 22:15:05 +00:00
Thomas Neidhart 0fc05eb81d Add missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479407 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 22:07:53 +00:00
Thomas Neidhart fc502e2479 Add missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479406 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 22:02:01 +00:00
Thomas Neidhart 9d32f4bbfd Add missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479405 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 21:58:52 +00:00
Thomas Neidhart 27a02f3d57 Add missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479403 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 21:54:13 +00:00