Commit Graph

2562 Commits

Author SHA1 Message Date
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
Thomas Neidhart 6a957e410a Add missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479401 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 21:51:47 +00:00
Thomas Neidhart b9b45674bd Add missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479400 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 21:49:47 +00:00
Thomas Neidhart 583ee805bd Add missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479399 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 21:46:48 +00:00
Thomas Neidhart 077913c7e9 Allow a broader range of inputs for a UniqueFilterIterator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479385 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 20:31:06 +00:00
Thomas Neidhart 081b62ef8d [COLLECTIONS-351] Add to changelog, changes have been performed and added to release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479349 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 16:20:55 +00:00
Thomas Neidhart a5e94c1727 [COLLECTIONS-453] finish with updating the changelog.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479348 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 16:16:30 +00:00
Thomas Neidhart 94cfd56bd9 Use varargs instead of arrays as input argument where applicable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479347 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 16:01:15 +00:00
Thomas Neidhart 9687cf07f3 Use varargs instead of array in constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479344 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:48:01 +00:00
Thomas Neidhart 67e443370e Use also varargs in internal FunctorUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479343 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:43:38 +00:00
Thomas Neidhart ace5ba00f7 Use varargs parameter instead of array.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479340 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:37:41 +00:00
Thomas Neidhart ef70de545e Add findbugs exclude filter for an unread field: it is used to make a hard reference.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479339 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:31:58 +00:00
Thomas Neidhart 4b2709eb5a Make javadoc happy.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479338 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:21:44 +00:00
Thomas Neidhart 5878adfaf3 [COLLECTIONS-453] Fix SwitchClosure and SwitchTransformer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479337 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:20:59 +00:00
Thomas Neidhart 8283d966f4 [COLLECTIONS-453] Change ChainedTransformer and ChainedClosure constructors to copy input arguments, add private constructor for factory methods to not copy twice.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479336 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:06:50 +00:00