commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COLLECTIONS-235) Missing static int ListUtils.indexOf(List,Predicate) method
Date Thu, 03 May 2007 19:47:15 GMT

     [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message