Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Iterator?

Definition 15.5 University Computer Science — Year 1 · Capítulo 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.

Ler no capítulo →