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-560) CollectionUtils: conditional collect
Date Sun, 24 May 2015 09:54:17 GMT

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

Thomas Neidhart resolved COLLECTIONS-560.
-----------------------------------------
       Resolution: Won't Fix
    Fix Version/s:     (was: 4.1)

> CollectionUtils: conditional collect
> ------------------------------------
>
>                 Key: COLLECTIONS-560
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-560
>             Project: Commons Collections
>          Issue Type: Improvement
>            Reporter: Francesco Chicchiriccò
>         Attachments: COLLECTIONS-560.diff
>
>
> The variants of {{CollectionUtils#collect}} will always add the object generated by {{transformer}}
into the {{outputCollection}}.
> An improvement would be to add a couple of further variants which also accepts a {{Predicate}}
argument, to be used for conditionally adding to the {{outputCollection}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message