Add a comment


Re: A really simple but powerful rule engine

I'm trying to run your examples in Java SE 1.7. I'm assuming the List object is java.util.List for: List<Rule> rules = Arrays.asList(r1, r2, r3, r4); The statement Engine engine = new Engine(rules, true); has an error, stating "change type of rules to 'Collection<Rule>" I tried to cast 'rules' to (List)rules, but got an error saying the Engine cannot cast the rules type.

Re: A really simple but powerful rule engine

HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
E-mail address
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).