performance/
mgcoabstractiterator__define.pro
Class description for mgcoabstractiterator
Subclasses: mgcoarraylistiterator
Fields
Fields in mgcoabstractiterator
- version 0L
used to compare to the version of the underlying collection to determine if the underlying collection has changed
Routines
Routines from mgcoabstractiterator__define.pro
result = mgcoabstractiterator::hasNext()
Determine if the underlying collection has another element to retrieve.
result = mgcoabstractiterator::next()
Return the next item in the underlying collection.
mgcoabstractiterator::remove
Removes from the underlying MGArrayList the last element returned.
mgcoabstractiterator::cleanup
Free resources of the iterator (not the underlying collection).
result = mgcoabstractiterator::init()
Initialize an iterator.
mgcoabstractiterator__define
Define member variables.
Routine details
top source mgcoabstractiterator::hasNext
result = mgcoabstractiterator::hasNext()
Determine if the underlying collection has another element to retrieve.
Return value
1 if underlying collection has another element, 0 otherwise
top source mgcoabstractiterator::next
result = mgcoabstractiterator::next()
Return the next item in the underlying collection.
Return value
list item
top source mgcoabstractiterator::remove
mgcoabstractiterator::remove
Removes from the underlying MGArrayList the last element returned.
top source mgcoabstractiterator::cleanup
mgcoabstractiterator::cleanup
Free resources of the iterator (not the underlying collection).
File attributes
Modification date: | Wed Jul 29 18:35:19 2009 |
Lines: | 20 |
Docformat: | rst rst |