Package com.googlecode.gaal.suffix.impl.EnhancedSuffixArrayImplTest

Examples of com.googlecode.gaal.suffix.impl.EnhancedSuffixArrayImplTest.IntervalImpl


    public void testTraversePreOrder() {
        Iterator<BinaryInterval> iterator = lst.preorderIterator();
        int i = 0;
        while (iterator.hasNext()) {
            Interval node = iterator.next();
            IntervalImpl ref = preOrder[i++];
            if (!ref.equals(node)) {
                System.err.println(ref + " != " + node);
                fail("node mismatch");
            } else {
                System.out.println(ref + " == " + node);
            }
View Full Code Here

TOP

Related Classes of com.googlecode.gaal.suffix.impl.EnhancedSuffixArrayImplTest.IntervalImpl

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.