Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Iterator?

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

Lees in het hoofdstuk →