Re: difference between iterator and enumerator
Posted By:
Anonymous
Posted On:
Monday, November 21, 2005 02:58 AM
Both provide an encapsulated looping logic over the collection. Enumeration gives a static view of looping, you can only "read" the contents of the collection. Iterator has an additonal method remove() that allows removal of the item from collection.
Re: difference between iterator and enumerator
Posted By:
Almagest_FUTT
Posted On:
Tuesday, November 15, 2005 02:29 PM
If you mean Iterator and Enumeration:
they're different classes (interfaces).