About 60,800 results
Open links in new tab
  1. 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.

  2. 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 …

  3. 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 …

  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. Python Iterators - W3Schools

    An iterator is an object that can be iterated upon, meaning that you can traverse through all the values. Technically, in Python, an iterator is an object which implements the iterator protocol, which consist …

  7. Introduction to Iterators in C++ - GeeksforGeeks

    Jun 27, 2026 · An iterator in C++ is an object that behaves similarly to a pointer and is used to access and traverse elements stored in STL containers. It provides a generic interface for working with …

  8. Iterator (Java SE 21 & JDK 21) - Oracle

    Iterators differ from enumerations in two ways: Iterators allow the caller to remove elements from the underlying collection during the iteration with well-defined semantics. Method names have been …

  9. Iterator pattern - Wikipedia

    In object-oriented programming, the iterator pattern is a design pattern in which an iterator is used to traverse a container and access the container's elements.

  10. 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.).