to top
Android APIs
Added in 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 ()

Added in API level 1

Returns an Iterator for the elements in this object.

Returns
  • An Iterator instance.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.