About 72,500 results
Open links in new tab
  1. Iterator (Java Platform SE 8 ) - Oracle

    Iterators allow the caller to remove elements from the underlying collection during the iteration with well-defined semantics. Method names have been improved. This interface is a member of the Java …

  2. Iterator in Java - GeeksforGeeks

    Mar 11, 2026 · An Iterator in Java is one of the most commonly used cursors in the Java Collections Framework. It is used to traverse or iterate through elements of a collection one by one.

  3. 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 collection may provide multiple iterators via its interface that provide …

  4. Java Iterator - W3Schools

    An Iterator is an object that can be used to loop through collections, like ArrayList and HashSet. It is called an "iterator" because "iterating" is the technical term for looping.

  5. std::iterator - cppreference.com

    std::iterator is the base class provided to simplify definitions of the required types for iterators.

  6. Iterators | Kotlin Documentation

    Mar 11, 2024 · Iterators are useful when you need to process all the elements of a collection one-by-one, for example, print values or make similar updates to them. Iterators can be obtained for …

  7. Iterator - refactoring.guru

    Iterator is a behavioral design pattern that lets you traverse elements of a collection without exposing its underlying representation (list, stack, tree, etc.).

  8. Iterators and Iterables in Python: Run Efficient Iterations

    Understanding iterators and iterables in Python is crucial for running efficient iterations. Iterators control loops, allowing you to traverse arbitrary data containers one item at a time. Iterables, on the other …

  9. A Guide to Iterator in Java - Baeldung

    Jun 27, 2025 · In this tutorial, we’re going to review the simple Iterator interface to learn how we can use its different methods. We’ll also check the more robust ListIterator extension which adds some …

  10. Functions creating iterators for efficient looping - Python

    2 days ago · This module implements a number of iterator building blocks inspired by constructs from APL, Haskell, and SML. Each has been recast in a form suitable for Python.