iterator
Sign in to saveIn computer programming, an iterator is an object that progressively provides access to each item of a collection, in order.
In the Vinony graph
Vinony's link graph records 83 inbound references to iterator, and connects out to program loop, PHP and anonymous function.
Vinony files it under Abstract data types, Iteration in programming and Object (computer science).
Vinony links it to 22 Wikipedia language editions.
Wikidata facts
- Subclass of
- handle
Show 6 more facts
- Commons category
- Iterator pattern
- manifestation of
- iteration
- Stack Exchange tag
- stackoverflow.com/tags/iterator
- different from
- iterator pattern
- has characteristic
- material implication
- represents
- collection
Sources (2)
via Wikidata · CC0
~35 min read
Encyclopedic overview
23 sectionsContents
- Pattern
- Generator
- Internal iterator
- Implicit iterator
- Stream
- Contrast with indexing
- Classification
- Categories
- Types
- In different programming languages
- .NET
- C
- C++
- Java
- Scala
- MATLAB
- PHP
- Raku
- Ruby
- Rust
- See also
- References
- External links
In computer programming, an iterator is an object that progressively provides access to each item of a collection, in order.
A collection may provide multiple iterators via its interface that provide items in different orders, such as forwards and backwards.
Excerpted from Wikipedia’s “iterator” article, available under the CC BY-SA 4.0 licence.