17,800 results
Open links in new tab
  1. Iterator - Wikipedia

    In computer programming, an iterator is an object that progressively provides access to each item of a collection, in order. [1][2][3] A …

  2. Iterators in Python - GeeksforGeeks

    Jun 5, 2026 · Python provides built-in iterators for iterable objects such as strings, lists, tuples, and dictionaries. These iterators allow …

  3. Python Iterators - W3Schools

    To create an object/class as an iterator you have to implement the methods __iter__ () and __next__ () to your object. As you will …

  4. Introduction to Iterators in C++ - GeeksforGeeks

    Jun 27, 2026 · Iterators provide several benefits when working with STL containers: Simplify container traversal without using …

  5. Iterators and Iterables in Python: Run Efficient Iterations

    Jan 6, 2025 · Understanding iterators and iterables in Python is crucial for running efficient iterations. Iterators control loops, allowing …

  6. itertools — Functions creating iterators for efficient looping

    1 day ago · The following functions all construct and return iterators. Some provide streams of infinite length, so they should only be …

  7. Iterator library - cppreference.com

    Iterators are a generalization of pointers that allow a C++ program to work with different data structures (for example, containers and …

  8. Iterators - C# | Microsoft Learn

    Nov 10, 2021 · Learn how to use built-in C# iterators and how to create your own custom iterator methods.

  9. C++ Iterators - W3Schools

    Iterators are like "pointers" in that they "point" to elements in a data structure rather than returning values from them. They refer to a …

  10. Iterator (Java Platform SE 8 ) - Oracle

    Iterators differ from enumerations in two ways: Iterators allow the caller to remove elements from the underlying collection during the …