/[classpath]/classpath/java/lang/Iterable.java
ViewVC logotype

Diff of /classpath/java/lang/Iterable.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by tromey, Thu Aug 5 21:09:36 2004 UTC revision 1.1.2.2 by tromey, Sat Aug 7 00:27:06 2004 UTC
# Line 40  package java.lang; Line 40  package java.lang;
40    
41  import java.util.Iterator;  import java.util.Iterator;
42    
43    /**
44     * This interface is used to indicate that a given class can be
45     * iterated over.  The compiler uses this interface to determine which
46     * classes are suitable targets of the <code>foreach</code> construct.
47     *
48     * @since 1.5
49     */
50  public interface Iterable<E>  public interface Iterable<E>
51  {  {
52      /**
53       * Returns an iterator for the collection.
54       */
55    Iterator<E> iterator ();    Iterator<E> iterator ();
56  }  }

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26