迭代器

diédàiqì
noun

Measure Word

Meanings

  1. 1 iterator

Examples

Tōngguò diédàiqì biànlì zhěnggè jíhé.
Traverse the entire collection through an iterator.
Python de diédàiqì yòng next() huòqǔ xià yīgè yuánsù.
Python iterators use next() to get the next element.

Tips

memory
(alternate/take turns) + (replace/generation) = 'take turns replacing' — exactly what an iterator does as it advances through elements. turns it into a thing: '-er' / device.

Stroke Order

dié
dài