Skip to main content

getNext

Short summary​

This method returns the next object from the iterator and move the iterator to it. If there is no next object, this should return NULL.

**Example: **

WHILE(iterator.hasNext())DO
iterator.getNext().foo();
END_WHILE

Return: CNM_AbstractObject.IObject: next object in collection

Parameters​

none

Code​

Declaration​

METHOD getNext :CNM_AbstractObject.IObject