Package lupos.datastructures.patriciatrie.node

Examples of lupos.datastructures.patriciatrie.node.Node


        if (nodesToMerge.get(0) != this.getRootNode()) {
          System.err.println("Please do not use merge for one trie, use copy instead!");
          this.setRootNode(nodesToMerge.get(0)); // TODO Hier muss kopiert werden, nicht einfach der rootNode uebernommen
        }
      } else if (nodesToMerge.size() > 1) { // Only merge if there are at least 2 valid root nodes
        final Node root = this.createNodeInstance();

        this.mergeAfterCheck(root, nodesToMerge);

        this.changeRootNode(root);
      }
View Full Code Here

TOP

Related Classes of lupos.datastructures.patriciatrie.node.Node

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.