int function ( HierarchyTreeNode arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } if ( ! isNodeChild ( arg0 ) ) { return - 1 ; } return children . indexOf ( arg0 ) ; }
returns the index of the specified child in this node 's child array . if the specified node is not a child of this node , returns -1 . this method performs a linear search and is o n where n is the number of children . concode_field_sep HierarchyTreeNode parent concode_elem_sep List<String> childrenKeys concode_elem_sep List<HierarchyTreeNode> EMPTY_LIST concode_elem_sep Iterator<HierarchyTreeNode> EMPTY_ITERATOR concode_elem_sep List<HierarchyTreeNode> children concode_elem_sep Object obj concode_elem_sep boolean allowsChildren concode_elem_sep Stack<Iterator<HierarchyTreeNode>> stack concode_elem_sep String key concode_elem_sep Queue<Iterator<HierarchyTreeNode>> queue concode_field_sep HierarchyTreeNode next concode_elem_sep HierarchyTreeNode next concode_elem_sep boolean isNodeChild concode_elem_sep void removeChildrenKey concode_elem_sep List<HierarchyTreeNode> getPathToRoot concode_elem_sep HierarchyTreeNode getNextSibling concode_elem_sep void remove concode_elem_sep void remove concode_elem_sep void remove concode_elem_sep void remove concode_elem_sep HierarchyTreeNode getChildAfter concode_elem_sep Iterator<HierarchyTreeNode> iterator concode_elem_sep List<HierarchyTreeNode> children concode_elem_sep void setParent concode_elem_sep boolean isNodeSibling concode_elem_sep void setKey concode_elem_sep void add concode_elem_sep boolean hasNextSiblingNode concode_elem_sep String getKey concode_elem_sep Object getObject concode_elem_sep HierarchyTreeNode getParent concode_elem_sep Iterator<HierarchyTreeNode> getPreorderIterator concode_elem_sep HierarchyTreeNode getChild concode_elem_sep boolean hasNext concode_elem_sep boolean hasNext concode_elem_sep int getChildCount concode_elem_sep int getLevel concode_elem_sep List<String> getChildrensKeys concode_elem_sep Iterator<HierarchyTreeNode> childrenIterator concode_elem_sep List<HierarchyTreeNode> getPathFromRoot