Since: API Level 1
public interface

Iterable

java.lang.Iterable<T>
Known Indirect Subclasses

Class Overview

Instances of classes that implement this interface can be used with the enhanced for loop.

Summary

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

Public Methods

public abstract Iterator<T> iterator ()

Since: API Level 1

Returns an Iterator for the elements in this object.

Returns
  • An Iterator instance.