Iterator vs Enumerator - What's the difference?

iterator | enumerator |


As nouns the difference between iterator and enumerator

is that iterator is one which iterates while enumerator is a person who, or a thing that enumerates; a counter or iterator.

iterator

English

Noun

(wikipedia iterator) (en noun)
  • One which iterates.
  • (computing) A method capable of performing the same action on every item in a collection.
  • enumerator

    English

    Noun

    (en noun)
  • A person who, or a thing that enumerates; a counter or iterator
  • Derived terms

    * enumerator polynomial ----