About 140,000 results
Open links in new tab
  1. Iterable (Java Platform SE 8 ) - Oracle

    Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception. Unless otherwise specified by the implementing class, …

  2. Iterable Interface in Java - GeeksforGeeks

    Jul 23, 2025 · In general, an object Implementing Iterable allows it to be iterated. An iterable interface allows an object to be the target of enhanced for loop (for-each loop).

  3. Differences Between Iterator and Iterable and How to Use Them?

    Jun 27, 2025 · Explore the usage of Iterable and Iterator interfaces in Java and understand the differences between them.

  4. Java Iterable Interface - Complete Tutorial with Examples - ZetCode

    Apr 13, 2025 · Complete Java Iterable interface tutorial covering all methods with examples. Learn about iterator, forEach, spliterator and other Iterable methods.

  5. Java Iterable Interface: A Comprehensive Guide - javaspring.net

    Jun 8, 2025 · This blog post will dive deep into the fundamental concepts, usage methods, common practices, and best practices related to the `Iterable` interface in Java.

  6. Iterable interface and its usage - javaplanet.io

    Sep 6, 2025 · The Iterable interface in Java is a cornerstone for enabling objects to be iterated using the enhanced for loop (for-each loop). By implementing Iterable and providing an …

  7. Java Iterable Interface: Guide and Examples

    Nov 7, 2023 · The Iterable interface is a core part of Java and is used for enabling objects to be the target of the ‘for-each loop’ statement. It is present in the java.lang package, and any class …

  8. Iterator and Iterable in JavaJava Stories | Neelesh J | Medium

    Jul 7, 2024 · The Iterable interface acts as a root interface for all collection classes in Java. It defines a single method, iterator(), which allows objects to be iterated using the enhanced for …

  9. Java | Implementing Iterator and Iterable Interface

    Jul 11, 2025 · The class provides some standard 'get' methods like getHead () and getTail (), and the necessary Iterator () function, which has to be implemented while implementing Iterable …

  10. Mastering Iterable in Java: A Comprehensive Guide

    Nov 12, 2025 · The Iterable interface in Java provides a powerful and flexible way to iterate over collections of data. By understanding the fundamental concepts, usage methods, common …