Package com.envoisolutions.sxc.xpath

Examples of com.envoisolutions.sxc.xpath.XPathEvaluator


        };
   
    XPathBuilder builder = new XPathBuilder();
        builder.listen(target, eventHandler);

        XPathEvaluator evaluator = builder.compile();

        for(int i = 0; i < NUM_WARMUPS; i++) {
            evaluator.evaluate(getMessageReader(message));
        }

        long start = System.currentTimeMillis();
        for(int i = 0; i < NUM_ITERATIONS; i++) {
            evaluator.evaluate(getMessageReader(message));
        }
        System.out.println("Took: " + (System.currentTimeMillis() - start));
        assertTrue(match[0]);
        //System.out.println(invCount[0]);
  }
View Full Code Here

TOP

Related Classes of com.envoisolutions.sxc.xpath.XPathEvaluator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.