提交 b4897fbd 编写于 作者: D darcy

6929382: Various core classes in util and elsewhere are missing @param <T> tags

Reviewed-by: dholmes, martin
上级 3145b078
...@@ -27,8 +27,12 @@ package java.lang; ...@@ -27,8 +27,12 @@ package java.lang;
import java.util.Iterator; import java.util.Iterator;
/** Implementing this interface allows an object to be the target of /**
* Implementing this interface allows an object to be the target of
* the "foreach" statement. * the "foreach" statement.
*
* @param <T> the type of elements returned by the iterator
*
* @since 1.5 * @since 1.5
*/ */
public interface Iterable<T> { public interface Iterable<T> {
......
...@@ -103,6 +103,8 @@ package java.util; ...@@ -103,6 +103,8 @@ package java.util;
* <a href="{@docRoot}/../technotes/guides/collections/index.html"> * <a href="{@docRoot}/../technotes/guides/collections/index.html">
* Java Collections Framework</a>. * Java Collections Framework</a>.
* *
* @param <E> the type of elements in this collection
*
* @author Josh Bloch * @author Josh Bloch
* @author Neal Gafter * @author Neal Gafter
* @see Set * @see Set
......
...@@ -41,6 +41,8 @@ package java.util; ...@@ -41,6 +41,8 @@ package java.util;
* <a href="{@docRoot}/../technotes/guides/collections/index.html"> * <a href="{@docRoot}/../technotes/guides/collections/index.html">
* Java Collections Framework</a>. * Java Collections Framework</a>.
* *
* @param <E> the type of elements returned by this iterator
*
* @author Josh Bloch * @author Josh Bloch
* @see Collection * @see Collection
* @see ListIterator * @see ListIterator
......
...@@ -89,6 +89,8 @@ package java.util; ...@@ -89,6 +89,8 @@ package java.util;
* <a href="{@docRoot}/../technotes/guides/collections/index.html"> * <a href="{@docRoot}/../technotes/guides/collections/index.html">
* Java Collections Framework</a>. * Java Collections Framework</a>.
* *
* @param <E> the type of elements in this list
*
* @author Josh Bloch * @author Josh Bloch
* @author Neal Gafter * @author Neal Gafter
* @see Collection * @see Collection
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册