See Also: IIterator Members
An iterator over a sequence of objects, such as a collection.
If a collection has been changed since the iterator was created, methods next and hasNext() may throw a ConcurrentModificationException. It is not possible to guarantee that this mechanism works in all cases of unsynchronized concurrent modification. It should only be used for debugging purposes. Iterators with this behavior are called fail-fast iterators.
Implementing Java.Lang.IIterable and returning an Iterator allows your class to be used as a collection with the enhanced for loop.