Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 71488 invoked from network); 3 May 2007 19:47:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 May 2007 19:47:38 -0000 Received: (qmail 12088 invoked by uid 500); 3 May 2007 19:47:43 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 11907 invoked by uid 500); 3 May 2007 19:47:42 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 11896 invoked by uid 99); 3 May 2007 19:47:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 12:47:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 12:47:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8A683714065 for ; Thu, 3 May 2007 12:47:15 -0700 (PDT) Message-ID: <31960826.1178221635564.JavaMail.jira@brutus> Date: Thu, 3 May 2007 12:47:15 -0700 (PDT) From: "Henri Yandell (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Updated: (COLLECTIONS-235) Missing static int ListUtils.indexOf(List,Predicate) method In-Reply-To: <5897032.1164041402019.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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