@Override
  public TreeNode<T> getChild(String name) {
    if (name != null && name.contains("/")) {
      int i = name.indexOf('/');
      String s = name.substring(0, i);
      TreeNode<T> node = m_mapChildren.get(s);
      return node == null ? null : node.getChild(name.substring(i + 1));
    } else {
      return m_mapChildren.get(name);
    }
  }
Constructor.

@param parent parent node
@param object associated object
@param name   node name
ambari-server/src/main/java/org/apache/ambari/server/api/util/TreeNodeImpl.java