question: public void addSubNode ( final NavNode subNode ) { subNodes . add ( subNode ) ; subNode . setParent ( this ) ; Collections . sort ( subNodes , NODE_COMPARATOR ) ; }
target:  Adds a sub node to this node. Doing that the parent of subNode will be assigned to this node.