Skip to main content
iterator

iterator

7.0
A person or thing that repeats the same action many times
  • noun
  • /ˈɪtəˌreɪtər/
translation icon : iterador
  • In programming, an iterator allows you to systematically access each element in a collection one at a time.

Examples

  • So the reverse method will return an object that is an iterator and that you can use just like the iterator in the reverse class.

  • The iterator method ensures that the same sequence of actions can be repeated without needing to rewrite the code.

  • The teacher introduced an iterator to help the students understand the concept of repeating a process in programming.

Synonyms

repeater
vsiterator
2 4.6

A person who does the same thing again and again

emphasizes systematic repetition across processes and word sets
reciter
vsiterator
1 6.4

A person who says poems or short parts of books from memory

is broader repeating actions processes or sets systematically
quoter
vsiterator
1 6.0

A person who repeats words from someone else, often in speech or writing

focuses on citing words rather than repeating actions or processes
echoer
vsiterator
1 7.3

A person or thing that repeats sounds, words and ideas from others

shows deliberate repeated action across processes and words rather than mere reflection
reiterant
vsiterator
9.6

Someone or something that repeats the same words to make them clear

is systematic in repeating actions processes or sets of words

How Repetitive

repeater
2 4.6
iterator
7.0
one-off
8 5.6

Surface Forms

iterator singular
iterators plural

Morphology

iterator = iterate (transparent) = iterate + or

Formed by the verb 'iterate' plus the agent/instrument suffix '-or', yielding 'one or that which repeats', a straightforward derivation.

Etymology

Iterator comes from the Latin root iterare, which means 'to do again' and is related to iterum meaning 'again'. So an iterator is literally something that repeats an action, which fits the modern meaning of a person or thing that repeats a task.