commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Egge (JIRA)" <>
Subject [jira] Created: (COLLECTIONS-235) Missing static int ListUtils.indexOf(List,Predicate) method
Date Mon, 20 Nov 2006 16:50:02 GMT
Missing static int ListUtils.indexOf(List,Predicate) method

                 Key: COLLECTIONS-235
             Project: Commons Collections
          Issue Type: New Feature
    Affects Versions: 3.2
            Reporter: Nathan Egge

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.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message