All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.drools.tutorials.banking.Example3 Maven / Gradle / Ivy

The newest version!
package org.drools.tutorials.banking;

public class Example3 {
    public static void main(String[] args) throws Exception {
        Number[] numbers = new Number[] {wrap(3), wrap(1), wrap(4), wrap(1), wrap(5)};
        new RuleRunner().runRules( new String[] { "Example3.drl" },
                                   numbers );
    }
    
    private static Integer wrap(int i) {
        return new Integer(i);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy