The stamp thing is just a mechanism to track changes on the List or it's Iterator while iterating. On construction the Iterator takes the stamp from the list (just an integer number). If the List or Iterator are changed while iteration the stamps are incremented and therefore differ from each other.
That means that after a change of Iterator or List you have to restart the iteration. Regards Am Dienstag, den 12.04.2011, 17:00 +0800 schrieb Nor Jaidi Tuah: > Is ArrayList.iterator reentrant? > > The reason I asked is that I got this > assertion error: > > ERROR:arraylist.c:741:gee_array_list_iterator_real_next: assertion > failed: (self->priv->_stamp == self->priv->_list->priv->_stamp) > > Is this a gee bug, or my improper use? > > hand > Nor Jaidi Tuah > > > _______________________________________________ > vala-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/vala-list _______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
