Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 71436 invoked from network); 8 Nov 2008 12:11:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2008 12:11:06 -0000 Received: (qmail 48732 invoked by uid 500); 8 Nov 2008 12:11:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 48646 invoked by uid 500); 8 Nov 2008 12:11:12 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 48635 invoked by uid 99); 8 Nov 2008 12:11:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Nov 2008 04:11:12 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Nov 2008 12:10:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 96693234C25E for ; Sat, 8 Nov 2008 04:10:44 -0800 (PST) Message-ID: <1930635117.1226146244614.JavaMail.jira@brutus> Date: Sat, 8 Nov 2008 04:10:44 -0800 (PST) From: "Chris Shayan (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (COLLECTIONS-306) Use Predicate in subtract MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Use Predicate in subtract ------------------------- Key: COLLECTIONS-306 URL: https://issues.apache.org/jira/browse/COLLECTIONS-306 Project: Commons Collections Issue Type: New Feature Components: Collection Environment: all OSs Reporter: Chris Shayan It is good idea to use Predicate in subtract method, I've developed myself the mentioned method and now I am testing it. I mean we should have following methods: The one already exist is: public static Collection subtract(Collection a, Collection b) I offer to have one more which is: public static Collection subtract(Collection a, Collection b, Predicate predicate) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.