public interface

Iterable

java.lang.Iterable<T>
Known Indirect Subclasses

Class Overview

Objects of classes that implement this interface can be used within a foreach statement.

Summary

Public Methods
abstract Iterator<T> iterator()
Returns an Iterator for the elements in this object.

Public Methods

public abstract Iterator<T> iterator ()

Returns an Iterator for the elements in this object.

Returns
  • An Iterator instance.