Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Iterator » ?

Definition 15.5 University Computer Science — Year 1 · Chapitre 15 — Linked Structures: Lists, Stacks and Queues

An iterator over a structure is a value that designates a position in it, with an operation that tells whether elements remain and an operation that returns the next element and advances. A loop written with an iterator works on every structure that provides one.

Lire dans le chapitre →