title: Access Treenode using Rowkey
body: <p>I  have the rowkey(say 0_0,0_1,etc) of treenodes, now is there any simple way to get the node with that  rowkey  or we need to iterate over entire treenode.</p>
  
  <p>the below code doesn't work </p>
  
  <pre><code>private TreeNode getNode(TreeNode node, String key) {
      for(TreeNode child : node.getChildren()){
          if(key.equals(child.getRowKey())) 
              return child;
          return getNode(child,key);
      }
      return null;
  }
  </code></pre>