[
https://issues.apache.org/jira/browse/COLLECTIONS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Yandell updated COLLECTIONS-235:
--------------------------------------
Fix Version/s: 3.3
+1 for 3.3 consideration.
> Missing static int ListUtils.indexOf(List,Predicate) method
> -----------------------------------------------------------
>
> Key: COLLECTIONS-235
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-235
> Project: Commons Collections
> Issue Type: New Feature
> Affects Versions: 3.2
> Reporter: Nathan Egge
> Fix For: 3.3
>
> Attachments: COLLECTIONS-235.patch
>
>
> Similar to this method on CollectionUtils:
> public static Object find(Collection c,Predicate p)
> there should be the following method on ListUtils:
> public static int indexOf(List l,Predicate p)
> which returns the index of the first Object in the List where the Predicate
> evaluates true.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]