You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2009/05/07 23:51:03 UTC
svn commit: r772787 -
/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Iterator.java
Author: tellison
Date: Thu May 7 21:51:03 2009
New Revision: 772787
URL: http://svn.apache.org/viewvc?rev=772787&view=rev
Log:
Minor updates to JavaDoc comment.
Modified:
harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Iterator.java
Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Iterator.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Iterator.java?rev=772787&r1=772786&r2=772787&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Iterator.java (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Iterator.java Thu May 7 21:51:03 2009
@@ -17,15 +17,18 @@
package java.util;
-
/**
- * An Iterator is used to sequence over a collection of objects. Conceptual, an
- * iterator is always positioned between two elements of a collection. A fresh
- * iterator is always positioned in front of the first element.
+ * An {@code Iterator} is used to sequence over a collection of objects.
+ * Conceptually, an iterator is always positioned between two elements of a
+ * collection. A fresh iterator is always positioned in front of the first
+ * element.
*
* If a collection has been changed since its creation, methods {@code next} and
* {@code hasNext()} may throw a {@code ConcurrentModificationException}.
* Iterators with this behavior are called fail-fast iterators.
+ *
+ * @param <E>
+ * the type of object returned by the iterator.
*/
public interface Iterator<E> {
/**