int function ( ) { HierarchyTreeNode loc0 = this ; int loc1 = 0 ; while ( ( loc0 = loc0 . getParent ( ) ) != null ) { loc1 ++ ; } return loc1 ; }
returns the number of levels above this node -- the distance from the root to this node . if this node is the root , returns 0 . 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 int indexOf 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 List<String> getChildrensKeys concode_elem_sep Iterator<HierarchyTreeNode> childrenIterator concode_elem_sep List<HierarchyTreeNode> getPathFromRoot