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

Diff of /classpath/java/util/Enumeration.java

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

revision 1.5 by mark, Sun Feb 18 15:39:58 2001 UTC revision 1.6 by ericb, Mon Oct 15 14:53:51 2001 UTC
# Line 42  package java.util; Line 42  package java.util;
42   * be obtained by the enumeration method in class Collections.   * be obtained by the enumeration method in class Collections.
43   *   *
44   * @author Warren Levy <warrenl@cygnus.com>   * @author Warren Levy <warrenl@cygnus.com>
45   * @date August 25, 1998.   * @author Eric Blake <ebb9@email.byu.edu>
46     * @see Iterator
47     * @see Hashtable
48     * @see Vector
49     * @since 1.0
50     * @status updated to 1.4
51   */   */
52  public interface Enumeration  public interface Enumeration
53  {  {
# Line 50  public interface Enumeration Line 55  public interface Enumeration
55     * Tests whether there are elements remaining in the enumeration.     * Tests whether there are elements remaining in the enumeration.
56     *     *
57     * @return true if there is at least one more element in the enumeration,     * @return true if there is at least one more element in the enumeration,
58     *   that is, if the next call to nextElement will not throw a     *         that is, if the next call to nextElement will not throw a
59     *   NoSuchElementException.     *         NoSuchElementException.
60     */     */
61    boolean hasMoreElements();    boolean hasMoreElements();
62    
# Line 59  public interface Enumeration Line 64  public interface Enumeration
64     * Obtain the next element in the enumeration.     * Obtain the next element in the enumeration.
65     *     *
66     * @return the next element in the enumeration     * @return the next element in the enumeration
67     * @exception NoSuchElementException if there are no more elements     * @throws NoSuchElementException if there are no more elements
68     */     */
69    Object nextElement() throws NoSuchElementException;    Object nextElement();
70  }  }

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

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