That's true, however, the plan is to replace this with the functors package (at least that's my understanding).
-----Original Message----- From: Leonardo Quijano Vincenzi [mailto:[EMAIL PROTECTED] Sent: Saturday, August 16, 2003 8:35 AM To: Struts Developers List Subject: Re: Decomposing RequestProcessor -- Some Code To Play With Tom Drake wrote: >I've condensed the UnaryPredicate interface here. It provides both a boolean >return and a context parameter. > >package org.apache.commons.functor; > >public interface UnaryPredicate { > boolean test(Object obj); > >} > > Commons-collections already has a Predicate interface, btw: org.apache.commons.collections.Predicate |boolean| |*evaluate <http://jakarta.apache.org/commons/collections/api/org/apache/commons/collec tions/Predicate.html#evaluate%28java.lang.Object%29>*(Object <http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html> input)| Leonardo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]