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 dont like how 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).
Any thoughts?
Thanks.