commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodney Waldhoff <>
Subject Re: [collections] [PATCH] typed Collection, List, Set, Bag, and Map
Date Tue, 11 Mar 2003 12:07:05 GMT
Can someone clarify the advantage of:

 typedBag(bag, String.class)


 predicatedBag(bag, new InstanceofPredicate(String.class));


On Mon, 11 Mar 2003, grumpoxl wrote:

> The patches will take more than one message due to the size limit.
> I added typedXXX(Collection, Class) and typedXXX(Class) methods in each
> of the Utils classes.
> I added some test cases for typedXXX, which were pretty close copies of
> the tests for predicatedXXX.  I didn't see any tests for BagUtils.
> I may have accidentally hit the "format" command in Eclipse while
> editing MapUtils and TestCollectionUtils, that is why the patch files
> are so large.  If necessary, I can redo those changes on a fresh
> version.
> A desire for predicatedXXX(Predicate) methods in the Utils classes was
> mentioned before.  If all of these changes can be committed... I can
> submit patches for those soon after.
> Thanks, let me know if there are any problems.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message