You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/03/07 22:05:11 UTC

[jira] [Resolved] (COLLECTIONS-361) Add CollectionUtils.filterOut()

     [ https://issues.apache.org/jira/browse/COLLECTIONS-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart resolved COLLECTIONS-361.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

Applied patch with minor modifications in r1454100:

 * added more javadoc
 * changed code to call filter with a wrapped not predicate
 * renamed to filterInverse which is more clear imho

Thanks for the suggestion and patch!
                
> Add CollectionUtils.filterOut()
> -------------------------------
>
>                 Key: COLLECTIONS-361
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-361
>             Project: Commons Collections
>          Issue Type: Wish
>          Components: Collection
>    Affects Versions: 1.0, 2.0, 2.1, 2.1.1, 3.0, 3.1, 3.2
>            Reporter: Jean-Noel Rouvignac
>            Priority: Trivial
>             Fix For: 4.0
>
>         Attachments: COLLECTIONS-361_v2.patch
>
>
> Similarly to CollectionUtils.selectRejected() which is equivalent to CollectionUtils.select()  with using the NotPredicate, it would be nice to have CollectionUtils.filterOut() which would be equivalent to CollectionUtils.filter()  with using the NotPredicate.
> I use filterOut() more often than filter().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira