iterator
nounUK /ɪˈtɛrətə/
US /ɪˈtɛrətər/
A tool that goes through a list of things one at a time.
The program uses an iterator to visit each item in the list.
OTHER MEANINGS
2. In programming, an object that keeps track of where you are while moving through a collection.
The iterator remembers the next element to return.
3. A person or thing that repeats an action again and again.
The iterator of the same steps made the process reliable.
4. A mathematical rule that produces a new value from the previous one.
The iterator generated the next number in the series.