buildRoot method

void buildRoot()

Implementation

void buildRoot() // TODO check how to make this methos synchronized
{
  if (root != null) return;
  root = buildTree();
}