Date: 2004-08-23T13:03:36
   Editor: 217.43.244.60 <>
   Wiki: Jakarta Commons Wiki
   Page: Collections Questions
   URL: http://wiki.apache.org/jakarta-commons/Collections Questions

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -2,9 +2,9 @@
 
 = Predicate Logic =
 
-Is there some easy way to chain predicates -- or do complex boolean logic.  I would 
like to build a rule system based on the Predicate type but I dont like how the 
evaluate method takes an Object.  I would rather have each Predicate be "setup" via 
some sort of interface PredicateContext (rather than Object) in the constructor (or 
factory method in this case).  
+Q: Is there some easy way to chain predicates -- or do complex boolean logic.  I 
would like to build a rule system based on the Predicate type but I dont like how the 
evaluate method takes an Object.  I would rather have each Predicate be "setup" via 
some sort of interface PredicateContext (rather than Object) in the constructor (or 
factory method in this case).  
 
-The collections project provides a complete set of predicates including And and Or in 
the functor subpackage. However, for full functor based programming please consider 
using commons-functor at http://jakarta.apache.org/commons/sandbox/functor
+A: The collections project provides a complete set of predicates including And and Or 
in the functor subpackage. However, for full functor based programming please consider 
using commons-functor at http://jakarta.apache.org/commons/sandbox/functor
 
 
 ----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to