Commit Graph

2542 Commits

Author SHA1 Message Date
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
Thomas Neidhart afcbced8ef Removed ClosureUtils.chainedClosure(Closure, Closure) method as there is already one with vararg parameters.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479126 13f79535-47bb-0310-9956-ffa450edef68
2013-05-04 15:16:07 +00:00
Thomas Neidhart 2edf0b06a9 Removed unused field, the parent bidi map is accessed via decorated().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479122 13f79535-47bb-0310-9956-ffa450edef68
2013-05-04 15:08:41 +00:00
Thomas Neidhart 1436aa0fc7 First draft for migration guide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1478764 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 13:02:20 +00:00
Thomas Neidhart 0966609407 Add information about deprecation of ArrayStack.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1478741 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 11:58:38 +00:00
Thomas Neidhart ba78fe4a6d Update release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1478739 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 11:47:35 +00:00
Thomas Neidhart 43e4df85bd [COLLECTIONS-453] Clone input parameters, add null check, final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477839 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 21:32:47 +00:00
Thomas Neidhart 05f3b74fd5 [COLLECTIONS-453] Clone input parameters for InstantiateTransformer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477838 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 21:29:26 +00:00
Thomas Neidhart 10a5e1c698 Added exlude filter for MultiKey.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477834 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 21:17:16 +00:00
Sebastian Bazley 9f0af0bfee Document some valid @SuppressWarnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477829 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 21:11:28 +00:00
Thomas Neidhart 4b2778dd4a Updated description.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477807 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 20:14:39 +00:00
Thomas Neidhart 7d54ee797c Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477802 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 20:01:28 +00:00
Thomas Neidhart 810250d722 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477799 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:56:11 +00:00
Thomas Neidhart b7a0c8d3de Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477798 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:49:02 +00:00
Thomas Neidhart 88564caa20 Remove trailing spaces, formatting + javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477795 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:44:16 +00:00
Thomas Neidhart 9af55b6479 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477794 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:42:03 +00:00
Sebastian Bazley d31ea317a5 Ensure name is used
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477793 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:37:29 +00:00
Sebastian Bazley d403368879 Ignore boxing errors in test code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477789 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:28:27 +00:00
Sebastian Bazley 46a1c86ab3 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477788 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:27:32 +00:00
Sebastian Bazley cf4d278990 Add hashCode() to keep Findbugs happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477787 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:26:42 +00:00
Sebastian Bazley c635393fb9 Unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477785 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:24:02 +00:00