Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 43364 invoked from network); 7 Jun 2005 17:14:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2005 17:14:31 -0000 Received: (qmail 92359 invoked by uid 500); 7 Jun 2005 17:14:23 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 92313 invoked by uid 500); 7 Jun 2005 17:14:22 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 92104 invoked by uid 99); 7 Jun 2005 17:14:19 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jakarta@reider.net designates 70.85.31.73 as permitted sender) Received: from e4ward.com (HELO e4ward.com) (70.85.31.73) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 10:14:17 -0700 Received: from localhost ([127.0.0.1] helo=e4ward.com) by e4ward.com with smtp (Exim 4.34) id 1DfheM-0006Pm-Q6 for commons-user@jakarta.apache.org; Tue, 07 Jun 2005 13:14:02 -0400 Received: by wproxy.gmail.com with SMTP id 36so580216wra for ; Tue, 07 Jun 2005 10:14:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O7BhJvL9fTTmntBj5NnQliNMETdheo1owhREmIftylqpDIffr5b7kkbn8qzZ/MCEhIEMJBMrBH3e0LWa2TLarfA3ASO1DeB5XQvIkrCQesiqAEdoM+fsPLDvlfkJHjN2STz2wWsvE8ye5DD8MtivL+aOLHUV1lXUE/1jbBUuev8= Received: by 10.54.6.56 with SMTP id 56mr2883142wrf; Tue, 07 Jun 2005 10:13:41 -0700 (PDT) Received: by 10.54.63.20 with HTTP; Tue, 7 Jun 2005 10:13:41 -0700 (PDT) Date: Tue, 7 Jun 2005 13:13:41 -0400 From: jakarta@reider.net Reply-to: jakarta@reider.net To: Jakarta Commons Users List , jakarta@reider.net Subject: Re: [collections] predicate algebra In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Message-ID: X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/7/05, jakarta*reider.net*jakarta*reider.net*7C0*qhvc*3@reply.e4ward.co= m wrote: > // untested > public boolean and(p2) { > return new Predicate(){ > public boolean evaluate(Object input){ > return this.evaluate(input) && p2.evaluate(input);}}} oops that of course should have been public Predicate and(p2) {..... --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org