getRoot method

AbstractNode getRoot()

Gets the root node of the tree.

@return the root node

Implementation

AbstractNode getRoot() {
  build();
  return root;
}