Commit Graph

2470 Commits

Author SHA1 Message Date
Matthew Jason Benson 5a2fc90746 [COLLECTIONS-251] improving static factory methods for static importability, conistency
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1148801 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 14:44:46 +00:00
Brent Worden 4499cf0862 COLLECTIONS-213. Added multiple use support to IteratorIterable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127604 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 18:04:29 +00:00
Brent Worden 936fd069c7 COLLECTIONS-313. Added abstract closure that is capable of handling thrown exceptions from closure execution.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127199 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 18:28:13 +00:00
Brent Worden 000e2fed2d COLLECTIONS-306. Added @since.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127125 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 16:12:00 +00:00
Brent Worden 99be993a40 COLLECTIONS-306. Added predicated subtract method to CollectionUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127123 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 16:11:07 +00:00
Brent Worden 0543f907c1 COLLECTIONS-213. Added IteratorIterable adaptor class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1126836 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 02:46:02 +00:00
Brent Worden 07947bd69e [COLLECTIONS-362] changed filter return value to boolean.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1125466 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 16:56:34 +00:00
Brent Worden 501b94143a [COLLECTIONS-229] removed remaining deprecated methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1125367 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 13:04:44 +00:00
Gary D. Gregory 1f3d2b96a0 Fix Oracle Javadoc site references (was Sun.)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1095934 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 13:46:56 +00:00
Gary D. Gregory d95b0a5105 Follow branding reqs from http://www.apache.org/foundation/marks/pmcs#graphics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079868 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 16:20:17 +00:00
Gary D. Gregory 7b19ef8a34 Ignore resources generated by Maven eclipse:eclipse
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079867 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 16:18:20 +00:00
Jochen Wiedmann cb19f2d73f PR: COLLECTIONS-323
Submitted-By: Maarten Brak <maarten.brak@quinity.com>
Allow to use an initial capacity of 0 on certain maps.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079602 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 23:37:01 +00:00
Jochen Wiedmann e4ba77b3b1 PR: COLLECTIONS-331
Documented the requirement to use a comparator.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079587 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 22:31:49 +00:00
Jochen Wiedmann 1327078501 PR: COLLECTIONS-332
Documented the dependency of ListOrderedMap on the standard Map contract of using equals() and hashCode().


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079552 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 21:27:41 +00:00
Jochen Wiedmann 76cca602d5 PR: COLLECTIONS-334
Synchronizing access to locks in StaticBucketMap.size()


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1076039 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 22:35:01 +00:00
Jochen Wiedmann 0145c16a6f PR: COLLECTIONS-360
Prevent an NPE in FilterListIterator.next() and FilterListIterator.previous()


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1076034 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 22:10:10 +00:00
Jochen Wiedmann 152588c286 Adding .settings directory (Eclipse specific) to svn:ignore.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1076028 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 21:47:08 +00:00
Matthew Jason Benson 09ce7577d0 use svn:keywords and fix up @since tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1073169 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 22:13:15 +00:00
Matthew Jason Benson c346a58b07 [COLLECTIONS-242] svn properties as requested
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1073168 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 22:10:47 +00:00
Matthew Jason Benson 2aa374f85a add default Equator implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1073166 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 22:06:57 +00:00
Matthew Jason Benson d1016f05a5 tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1070674 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 21:24:50 +00:00
Matthew Jason Benson 9a24ed01f7 address some testing TODOs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1070673 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 21:21:55 +00:00
Matthew Jason Benson e658fb9b50 remove bogus TODO comment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1070672 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 21:19:07 +00:00
Matthew Jason Benson ed3d9ab90b [COLLECTIONS-330] javadoc: add warning about calling get() while iterating
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1069624 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 23:57:59 +00:00
Matthew Jason Benson a6d51b8d2f [COLLECTIONS-330] remove unreasonable expectations from LRUMap synchronized iteration tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1069618 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 23:50:23 +00:00
Gary D. Gregory 9b3bfe2fb9 Copyright
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1065788 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 21:16:39 +00:00
Sebastian Bazley 0e70e26a11 COLLECTIONS-363 TransformedMap is Serializable but its superclass doesn't define an accessible void constructor
Oops - overlooked the .obj files (Eclipse thinks .obj files are generated)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1051295 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 21:21:38 +00:00
Sebastian Bazley 7d1c0ab090 COLLECTIONS-363 TransformedMap is Serializable but its superclass doesn't define an accessible void constructor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1051248 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 19:24:29 +00:00
Sebastian Bazley b5e8745a41 A few raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026283 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 10:37:09 +00:00
Sebastian Bazley a99c022fbb Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026255 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 09:00:38 +00:00
Sebastian Bazley 1ae1850534 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026194 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:29:16 +00:00
Sebastian Bazley f46321a44d No cast needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026193 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:29:03 +00:00
Sebastian Bazley 8fc1425e84 Let JUnit 4 check the Exception
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026191 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:18:19 +00:00
Sebastian Bazley 6f7691f90b No cast needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026189 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:17:43 +00:00
Sebastian Bazley 19fcdb2971 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026188 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:01:45 +00:00
Sebastian Bazley 898a12b6bf Raw type
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026186 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 00:40:36 +00:00
Sebastian Bazley 7a36e60c96 Oops - the Lists can also contain non-Strings. May have to revert a few other casts.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024488 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:52:22 +00:00
Sebastian Bazley c81f67f5a8 Generics; fix keys as Strings only
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024482 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:36:02 +00:00
Sebastian Bazley b8e474dbf0 Raw types and unchecked casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024473 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:04:54 +00:00
Sebastian Bazley f6ac90fca9 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024472 13f79535-47bb-0310-9956-ffa450edef68 2010-10-20 01:02:40 +00:00
Sebastian Bazley 2d69bd58ab Raw types and unchecked casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024471 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:02:09 +00:00
Sebastian Bazley a75a36299d Explicit unboxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024464 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 23:22:28 +00:00
Sebastian Bazley 32860a32cd Remove unnecessary null checks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024273 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 15:28:24 +00:00
Sebastian Bazley 6a849937f5 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024103 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:37:19 +00:00
Sebastian Bazley db079b02f6 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024102 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:28:51 +00:00
Sebastian Bazley 95e20438a0 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024100 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:16:15 +00:00
Sebastian Bazley 94645dca65 Ignore serialUID warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024099 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:14:50 +00:00
Sebastian Bazley a6e67175e0 Localise @SuppressWarning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024086 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:40:07 +00:00
Sebastian Bazley e6f8d11ba9 private immutable fields might as well be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024085 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:39:13 +00:00
Sebastian Bazley 452e51e949 generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024084 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:38:58 +00:00