/[classpath]/classpath/java/util/Iterator.java
ViewVC logotype

Diff of /classpath/java/util/Iterator.java

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

revision 1.6 by mark, Tue Jan 22 22:27:01 2002 UTC revision 1.6.2.1 by tromey, Thu Aug 5 21:09:36 2004 UTC
# Line 1  Line 1 
1  /* Iterator.java -- Interface for iterating over collections  /* Iterator.java -- Interface for iterating over collections
2     Copyright (C) 1998, 2001 Free Software Foundation, Inc.     Copyright (C) 1998, 2001, 2004 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 54  package java.util; Line 54  package java.util;
54   * @since 1.2   * @since 1.2
55   * @status updated to 1.4   * @status updated to 1.4
56   */   */
57  public interface Iterator  public interface Iterator<E>
58  {  {
59    /**    /**
60     * Tests whether there are elements remaining in the collection. In other     * Tests whether there are elements remaining in the collection. In other
# Line 70  public interface Iterator Line 70  public interface Iterator
70     * @return the next element in the collection     * @return the next element in the collection
71     * @throws NoSuchElementException if there are no more elements     * @throws NoSuchElementException if there are no more elements
72     */     */
73    Object next();    E next();
74    
75    /**    /**
76     * Remove from the underlying collection the last element returned by next     * Remove from the underlying collection the last element returned by next

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.2.1

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