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] [Updated] (COLLECTIONS-503) IfTransformer
Date Mon, 03 Mar 2014 21:03:22 GMT

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

Thomas Neidhart updated COLLECTIONS-503:
----------------------------------------

    Fix Version/s:     (was: 4.0.1)
                   4.1

> IfTransformer
> -------------
>
>                 Key: COLLECTIONS-503
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-503
>             Project: Commons Collections
>          Issue Type: New Feature
>          Components: Functor
>            Reporter: Josh Cain
>            Priority: Trivial
>             Fix For: 4.1
>
>         Attachments: ifTransformer.patch, ifTransformer.patch
>
>
> Just thought a basic ifTransformer that performs operations based on a predicate would
be useful.  I know this functionality can be accomplished via a switchTransformer, but sometimes
it would just be easier and more clear to have an ifTransformer.
> I attached a draft of what it could look like.  Let me know if this is something that
should be included and I can polish it and write some tests.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message