Show/Hide Toolbars

RiverSoftAVG Products Help

The IObjectIterator interface describes an abstract interface for enumerating over a list of objects. It effectively hides the underlying implementation, whether a TObjectList, a TStrings, a hash table or other structure, while still allowing access to all the objects stored in the implementation.

The IObjectIterator interface is similar to an Enumeration in java.

To use the iterator is simple, get the iterator and then keep calling the    NextElement method until the    HasMoreElements method returns False. The iterator works by giving you the next element until the end of the list, there is no provision for getting the previous element.
 

Namespace: CommonInterfaces

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb