Show/Hide Toolbars

RiverSoftAVG Products Help

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

The IStringIterator interface is similar to an Enumeration in java.

To use the iterator is simple, get the iterator and then keep calling the CommonInterfaces.IStringIterator.NextElement method until the CommonInterfaces.IStringIterator.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