--- jsr166/src/main/java/util/PriorityQueue.java 2003/09/15 12:02:23 1.42 +++ jsr166/src/main/java/util/PriorityQueue.java 2004/06/02 23:45:46 1.50 @@ -1,7 +1,7 @@ /* * %W% %E% * - * Copyright 2003 Sun Microsystems, Inc. All rights reserved. + * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ @@ -15,7 +15,7 @@ package java.util; * {@link java.util.Comparator}, depending on which constructor is * used. A priority queue does not permit null elements. * A priority queue relying on natural ordering also does not - * permit insertion of non-comparable objects (doing so results + * permit insertion of non-comparable objects (doing so may result * in ClassCastException). * *
The head of this queue is the least element @@ -32,8 +32,10 @@ package java.util; * grows automatically. The details of the growth policy are not * specified. * - *
This class implements all of the optional methods of - * the {@link Collection} and {@link Iterator} interfaces. The + *
This class and its iterator implement all of the
+ * optional methods of the {@link Collection} and {@link
+ * Iterator} interfaces.
+ * The
* Iterator provided in method {@link #iterator()} is not
* guaranteed to traverse the elements of the PriorityQueue in any
* particular order. If you need ordered traversal, consider using
@@ -59,9 +61,10 @@ package java.util;
* @since 1.5
* @version %I%, %G%
* @author Josh Bloch
+ * @param