commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COLLECTIONS-361) Add CollectionUtils.filterOut()
Date Thu, 07 Mar 2013 21:05:11 GMT

     [ 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

Mime
View raw message