6929382: Various core classes in util and elsewhere are missing @param <T> tags
authordarcy
Wed, 24 Feb 2010 10:48:18 -0800
changeset 4977 81902a400bbf
parent 4976 7419a22f407c
child 4978 6bee79de5db6
6929382: Various core classes in util and elsewhere are missing @param <T> tags Reviewed-by: dholmes, martin
jdk/src/share/classes/java/lang/Iterable.java
jdk/src/share/classes/java/util/Collection.java
jdk/src/share/classes/java/util/Iterator.java
jdk/src/share/classes/java/util/List.java
--- a/jdk/src/share/classes/java/lang/Iterable.java	Tue Feb 23 18:21:31 2010 +0000
+++ b/jdk/src/share/classes/java/lang/Iterable.java	Wed Feb 24 10:48:18 2010 -0800
@@ -27,8 +27,12 @@
 
 import java.util.Iterator;
 
-/** Implementing this interface allows an object to be the target of
- *  the "foreach" statement.
+/**
+ * Implementing this interface allows an object to be the target of
+ * the "foreach" statement.
+ *
+ * @param <T> the type of elements returned by the iterator
+ *
  * @since 1.5
  */
 public interface Iterable<T> {
--- a/jdk/src/share/classes/java/util/Collection.java	Tue Feb 23 18:21:31 2010 +0000
+++ b/jdk/src/share/classes/java/util/Collection.java	Wed Feb 24 10:48:18 2010 -0800
@@ -103,6 +103,8 @@
  * <a href="{@docRoot}/../technotes/guides/collections/index.html">
  * Java Collections Framework</a>.
  *
+ * @param <E> the type of elements in this collection
+ *
  * @author  Josh Bloch
  * @author  Neal Gafter
  * @see     Set
--- a/jdk/src/share/classes/java/util/Iterator.java	Tue Feb 23 18:21:31 2010 +0000
+++ b/jdk/src/share/classes/java/util/Iterator.java	Wed Feb 24 10:48:18 2010 -0800
@@ -41,6 +41,8 @@
  * <a href="{@docRoot}/../technotes/guides/collections/index.html">
  * Java Collections Framework</a>.
  *
+ * @param <E> the type of elements returned by this iterator
+ *
  * @author  Josh Bloch
  * @see Collection
  * @see ListIterator
--- a/jdk/src/share/classes/java/util/List.java	Tue Feb 23 18:21:31 2010 +0000
+++ b/jdk/src/share/classes/java/util/List.java	Wed Feb 24 10:48:18 2010 -0800
@@ -89,6 +89,8 @@
  * <a href="{@docRoot}/../technotes/guides/collections/index.html">
  * Java Collections Framework</a>.
  *
+ * @param <E> the type of elements in this list
+ *
  * @author  Josh Bloch
  * @author  Neal Gafter
  * @see Collection