iterator

🇺🇸 /ɪtə'reɪtə/ 🇬🇧 /ɪtə'reɪtə/
詞頻
難度
標籤 RARE
noun
R

A person or thing that goes through a process or a set of items one by one.

The researcher was an iterator, carefully examining each sample.

研究者是一個迭代器,仔細檢查每個樣本。

R

In programming, an object that lets a program access the elements of a collection one by one, without needing to know the collection's structure.

The iterator pattern allows for accessing elements in a list without revealing the list's internal structure.

迭代器模式允許訪問列表中的元素,而不會暴露列表的內部結構。

translation

n. 迭代器, 迭代器(程式設計)