English Reference

Word

iterator

Phoneticsit·er·a·tor

Definition

n. an object in computer programming that lets you go through a list of items one by one. It keeps track of where you are in the list so you can get the next item easily.

n. an object or interface that enables sequential access to the elements of a collection without exposing its underlying representation. It maintains an internal state to track the current position during traversal.

Examples

“The program uses an iterator to check every name in the list.”

“When the loop starts, the iterator moves through the array and performs a calculation on each individual number.”

“By implementing a custom iterator, the developer allowed the application to stream large datasets from the database without loading the entire collection into memory at once.”

Examples

simple

“The program uses an iterator to check every name in the list.”

contextual

“When the loop starts, the iterator moves through the array and performs a calculation on each individual number.”

complex

“By implementing a custom iterator, the developer allowed the application to stream large datasets from the database without loading the entire collection into memory at once.”

Usage

Commonly used with 'over' or 'through' to describe the action of visiting elements in a collection.

Domain

Programming

This entry

Exam level
CambridgeCambridgeCambridge English QualificationsThe exam suite from Cambridge University Press & Assessment, from A1 Movers up to C2 Proficiency. The benchmark names double as CEFR labels.C1 AdvancedIELTSIELTSInternational English Language Testing SystemThe 0–9 band test co-owned by the British Council, IDP, and Cambridge. Used for university entry, work, and migration.7.0–8.0TOEFL iBTTOEFL iBTTest of English as a Foreign Language, Internet-Based TestETS's academic English test, the standard route for US university admissions. Scored 0–120, with a 1–6 scale since 2026.1–6 scale: 5.0–5.595–113TOEICTOEICTest of English for International CommunicationETS's workplace English test, big in Japan and Korea. Listening & Reading scores 10–990 and tops out at C1.945–990EikenEikenTest in Practical English ProficiencyThe English proficiency test from the Eiken Foundation of Japan, widely taken by Japanese students. Grades run from 5 to 1, with Pre-1 and Pre-2 between them.Grade 1
Frequency
Rare
Level
C1 · Advanced
Updated

QR code

englishreference.com/q/iterator

English Reference