6929382: Various core classes in util and elsewhere are missing @param <T> tags
Reviewed-by: dholmes, martin
--- 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