Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.lang
Interface Iterable  view Iterable download Iterable.java


public interface Iterable

This interface is used to indicate that a given class can be iterated over. The compiler uses this interface to determine which classes are suitable targets of the foreach construct.

Since:
1.5

Method Summary
 java.util.Iterator iterator()
          Returns an iterator for the collection.
 

Method Detail

iterator

public java.util.Iterator iterator()
Returns an iterator for the collection.