changeset 2316:e842e99b514a

6929382: Various core classes in util and elsewhere are missing @param <T> tags Reviewed-by: dholmes, martin
author darcy
date Wed, 24 Feb 2010 10:48:18 -0800
parents e94b296b53b4
children 9929203a8b98
files src/share/classes/java/lang/Iterable.java src/share/classes/java/util/Collection.java src/share/classes/java/util/Iterator.java src/share/classes/java/util/List.java
diffstat 4 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/lang/Iterable.java	Tue Feb 23 18:21:31 2010 +0000
+++ b/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/src/share/classes/java/util/Collection.java	Tue Feb 23 18:21:31 2010 +0000
+++ b/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/src/share/classes/java/util/Iterator.java	Tue Feb 23 18:21:31 2010 +0000
+++ b/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/src/share/classes/java/util/List.java	Tue Feb 23 18:21:31 2010 +0000
+++ b/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