commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaka...@reider.net
Subject [collections] predicate algebra
Date Fri, 03 Jun 2005 20:50:24 GMT
Would it make implementation sense for predicates to extend a common
class (ConcretePredicate, PredicateImpl or some such)?

Then one could conceivably write eg "predicate1.and(predicate2)" 
in place of "new AndPredicate(predicate1,predicate2)".

and other relational operators, eg andNot defined in the root class.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message