Skip to main content

getStartNode

Short summary

This method is called to retrive the first node of the iteration. Might have sideeffects, like changes to THIS^.nodelist.

Parameters

none

Code

Declaration

METHOD PROTECTED getStartNode : CNM_CollectionInterfaces.IBinaryTreeNode

Implementation

THIS^.fillNodeListUntilLeftMost(THIS^.root);
__QUERYINTERFACE(THIS^.nodeList.pop(), getStartNode);