question: private void addNodeToList ( List vmList , int startIndexForNode , int endIndexForNode ) { vmList . clear ( ) ; for ( int i = startIndexForNode ; i < endIndexForNode ; i ++ ) { vmList . add ( vm [ i ] ) ; } }
target:  This function adds nodes to node list in the range specified by startIndexForNode and endIndexForNode