collection/
mgabstractiterator__define.pro
Class description for mgabstractiterator
Subclasses: mgarraylistiterator
Fields
- version 0L
used to compare to the version of the underlying collection to determine if the underlying collection has changed
Routines
result = mgabstractiterator::hasNext()Determine if the underlying collection has another element to retrieve.
result = mgabstractiterator::next()Return the next item in the underlying collection.
mgabstractiterator::removeRemoves from the underlying MGArrayList the last element returned.
mgabstractiterator::cleanupFree resources of the iterator (not the underlying collection).
result = mgabstractiterator::init()Initialize an iterator.
mgabstractiterator__defineDefine member variables.
Routine details
topmgabstractiterator::hasNext
result = mgabstractiterator::hasNext()
Determine if the underlying collection has another element to retrieve.
Return value
1 if underlying collection has another element, 0 otherwise
topmgabstractiterator::next
result = mgabstractiterator::next()
Return the next item in the underlying collection.
Return value
list item
topmgabstractiterator::remove
mgabstractiterator::remove
Removes from the underlying MGArrayList the last element returned.
topmgabstractiterator::cleanup
mgabstractiterator::cleanup
Free resources of the iterator (not the underlying collection).
topmgabstractiterator::init
result = mgabstractiterator::init()
Initialize an iterator.
Return value
1 for success, 0 otherwise
File attributes
| Modification date: | Tue Nov 20 11:24:28 2007 |
| Lines: | 63 |
![[attach.png]](../idldoc-resources/attach.png)