collection/
mgcoarraylistiterator__define.pro
This class provides a nice way to iterate through all the elements of an array list.
Routines
result = mgcoarraylistiterator::hasNext()
Determine if the underlying collection has another element to retrieve.
result = mgcoarraylistiterator::next()
Return the next item in the underlying collection.
mgcoarraylistiterator::remove
Removes from the underlying MGArrayList the last element returned.
mgcoarraylistiterator::cleanup
Free resources of the iterator (not the underlying collection).
result = mgcoarraylistiterator::init(arraylist)
Initialize an MGArrayListIterator.
mgcoarraylistiterator__define
Define member variables.
Routine details
top source mgcoarraylistiterator::hasNext
result = mgcoarraylistiterator::hasNext()
Determine if the underlying collection has another element to retrieve.
Return value
1 if underlying collection has another element, 0 otherwise
top source mgcoarraylistiterator::next
result = mgcoarraylistiterator::next()
Return the next item in the underlying collection.
Return value
list item
top source mgcoarraylistiterator::remove
mgcoarraylistiterator::remove
Removes from the underlying MGArrayList the last element returned.
top source mgcoarraylistiterator::cleanup
mgcoarraylistiterator::cleanup
Free resources of the iterator (not the underlying collection).
File attributes
Modification date: | Mon Nov 29 18:32:28 2010 |
Lines: | 122 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.